Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ecli faield: memlock Expand to unlimited #330

Open
00032118 opened this issue Jan 18, 2024 · 0 comments
Open

ecli faield: memlock Expand to unlimited #330

00032118 opened this issue Jan 18, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@00032118
Copy link

When I used ecli to load the BPF program into the kernel, I found that the memlock was insufficient and failed. During the process of solving the problem, I found that ecli seemed to automatically expand the system's memlock. After expanding it once, reducing it through ulimit -l did not work. Please tell me. Is this a bug? Why is there such a mechanism?

pid:69330, tid:69346, pid name:ld-linux-x86-64, ppid:1, ppid name:systemd, func:security_task_setrlimit, cmd:/tmp/.mount_ecliaHiOJn/lib64/ld-linux-x86-64.so.2 --argv0 ecli --library-path /tmp/.mount_ecliaHiOJn/usr/lib/aarch64-
linux-gnu:/tmp/.mount_ecliaHiOJn/lib/aarch64-linux-gnu:/tmp/.mount_ecliaHiOJn/usr/lib/:/tmp/.mount_ecliaHiOJn/usr/lib/i386-linux-gnu/:/tmp/.mount_ecliaHiOJn/usr/lib/x86_64-linux-gnu/:/tmp/.mount_ecliaHiOJn/usr/lib32/:/tmp/.mou
nt_ecliaHiOJn/usr/lib64/:/tmp/.mount_ecliaHiOJn/lib/:/tmp/.mount_ecliaHiOJn/lib/i386-linux-gnu/:/tmp/.mount_ecliaHiOJn/lib/x86_64-linux-gnu/:/tmp/.mount_ecliaHiOJn/lib3
set memlock limt pid: 69346, new: 18446744073709551615
0xffffffff83c50ee0 : security_task_setrlimit+0x0/0x50 [kernel]
0xffffffff838f3f40 : do_prlimit+0x120/0x1f0 [kernel]
0xffffffff838f4866 : __x64_sys_prlimit64+0x236/0x2e0 [kernel]
0xffffffff8427b3a0 : do_syscall_64+0x30/0x40 [kernel]
0xffffffff84400099 : entry_SYSCALL_64_after_hwframe+0x61/0xc6 [kernel]
0xffffffff84400099 : entry_SYSCALL_64_after_hwframe+0x61/0xc6 [kernel]

@00032118 00032118 added the bug Something isn't working label Jan 18, 2024
@yunwei37 yunwei37 added help wanted Extra attention is needed question Further information is requested labels Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants