mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
linux(4): Return ENOSYS for unsupported P_PIDFD waitid idtype.
Reviewed by: emaste Differential revision: https://reviews.freebsd.org/D31559 MFC after: 2 weeks
This commit is contained in:
parent
c7ef7c3fac
commit
be1e4a0bdf
2 changed files with 4 additions and 0 deletions
|
|
@ -1122,6 +1122,9 @@ linux_waitid(struct thread *td, struct linux_waitid_args *args)
|
|||
return (EINVAL);
|
||||
idtype = P_PGID;
|
||||
break;
|
||||
case LINUX_P_PIDFD:
|
||||
LINUX_RATELIMIT_MSG("unsupported waitid P_PIDFD idtype");
|
||||
return (ENOSYS);
|
||||
default:
|
||||
return (EINVAL);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,6 +136,7 @@ extern int stclohz;
|
|||
#define LINUX_P_ALL 0
|
||||
#define LINUX_P_PID 1
|
||||
#define LINUX_P_PGID 2
|
||||
#define LINUX_P_PIDFD 3
|
||||
|
||||
#define LINUX_RLIMIT_LOCKS 10
|
||||
#define LINUX_RLIMIT_SIGPENDING 11
|
||||
|
|
|
|||
Loading…
Reference in a new issue