mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Permit getuid()/geteuid() syscalls.
Requested for Linux/s390; patch from Eduardo Barretto via bz#2752; ok dtucker
This commit is contained in:
parent
4b22fd8ece
commit
4ef75926ef
@ -166,6 +166,12 @@ static const struct sock_filter preauth_insns[] = {
|
|||||||
#ifdef __NR_exit_group
|
#ifdef __NR_exit_group
|
||||||
SC_ALLOW(__NR_exit_group),
|
SC_ALLOW(__NR_exit_group),
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __NR_geteuid
|
||||||
|
SC_ALLOW(__NR_geteuid),
|
||||||
|
#endif
|
||||||
|
#ifdef __NR_geteuid32
|
||||||
|
SC_ALLOW(__NR_geteuid32),
|
||||||
|
#endif
|
||||||
#ifdef __NR_getpgid
|
#ifdef __NR_getpgid
|
||||||
SC_ALLOW(__NR_getpgid),
|
SC_ALLOW(__NR_getpgid),
|
||||||
#endif
|
#endif
|
||||||
@ -178,6 +184,12 @@ static const struct sock_filter preauth_insns[] = {
|
|||||||
#ifdef __NR_gettimeofday
|
#ifdef __NR_gettimeofday
|
||||||
SC_ALLOW(__NR_gettimeofday),
|
SC_ALLOW(__NR_gettimeofday),
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __NR_getuid
|
||||||
|
SC_ALLOW(__NR_getuid),
|
||||||
|
#endif
|
||||||
|
#ifdef __NR_getuid32
|
||||||
|
SC_ALLOW(__NR_getuid32),
|
||||||
|
#endif
|
||||||
#ifdef __NR_madvise
|
#ifdef __NR_madvise
|
||||||
SC_ALLOW(__NR_madvise),
|
SC_ALLOW(__NR_madvise),
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user