search for: __nr_socket

Displaying 4 results from an estimated 4 matches for "__nr_socket".

2025 Jan 04
0
Update sandbox to allow afalg
...led and attempting ssh. The second that the security sandbox was blocking the socket call to afalg. --- ../../openssh-orig/openssh-9.9p1/sandbox-seccomp-filter.c 2024-09-19 18:20:48.000000000 -0400 +++ sandbox-seccomp-filter.c 2025-01-03 18:20:19.803149104 -0500 @@ -402,6 +402,12 @@ SC_ALLOW_ARG(__NR_socketcall, 0, SYS_SHUTDOWN), SC_DENY(__NR_socketcall, EACCES), #endif + + /* Kurlon testing alfag */ +#ifdef __NR_socket + SC_ALLOW_ARG(__NR_socket, 0, AF_ALG), +#endif + #if defined(__NR_ioctl) && defined(__s390__) /* Allow ioctls for ICA crypto card on s390 */ SC_ALLOW_ARG(__NR_ioctl, 1...
2010 Mar 14
1
klibc sparc sockets foo
...jeremy at sunny:~$ /usr/lib/klibc/bin/ipconfig lo ipconfig: lo: socket(AF_INET): Function not implemented /usr/lib/klibc/bin/ipconfig: no devices to configure Looking at the source code, it seems there is 2 call mechanisms: - if the kernel header files (asm/unistd.h) defines __NR_socket (and so on), the makefiles uses the syscall interface ; - otherwise, the makefiles uses the socketcall interface, which wraps the call into a common syscall (named socketcall). See the <src>/usr/klibc/syscalls.pl and <src>/usr/klibc/socketcalls.pl for details....
2010 Mar 14
0
[patches] klibc review unsorted patch queue
...jeremy at sunny:~$ /usr/lib/klibc/bin/ipconfig lo ipconfig: lo: socket(AF_INET): Function not implemented /usr/lib/klibc/bin/ipconfig: no devices to configure Looking at the source code, it seems there is 2 call mechanisms: - if the kernel header files (asm/unistd.h) defines __NR_socket (and so on), the makefiles uses the syscall interface ; - otherwise, the makefiles uses the socketcall interface, which wraps the call into a common syscall (named socketcall). See the <src>/usr/klibc/syscalls.pl and <src>/usr/klibc/socketcalls.pl for details....
2018 Mar 19
0
get_user_pages returning 0 (was Re: kernel BUG at drivers/vhost/vhost.c:LINE!)
...r[0] = res; *(uint64_t*)0x20000040 = 0; syscall(__NR_ioctl, r[0], 0x40000000af01, 0x20000040); memcpy((void*)0x20000180, "/dev/audio", 11); res = syscall(__NR_openat, 0xffffffffffffff9c, 0x20000180, 0, 0); if (res != -1) r[1] = res; syscall(__NR_close, r[1]); syscall(__NR_socket, 0x11, 3, 0x300); *(uint32_t*)0x20000500 = 0; *(uint32_t*)0x20000504 = 1; *(uint64_t*)0x20000508 = 0x20000740; *(uint64_t*)0x20000510 = 0x200003c0; *(uint64_t*)0x20000518 = 0x20000140; *(uint64_t*)0x20000520 = 0xfffffffffffffffc; syscall(__NR_ioctl, r[0], 0x4028af11, 0x20000500); *(...