Adding upstream version 6.12.33.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
89eabb05c2
commit
79d69e5050
86698 changed files with 39662057 additions and 0 deletions
30
kernel/exit.h
Normal file
30
kernel/exit.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
#ifndef LINUX_WAITID_H
|
||||
#define LINUX_WAITID_H
|
||||
|
||||
struct waitid_info {
|
||||
pid_t pid;
|
||||
uid_t uid;
|
||||
int status;
|
||||
int cause;
|
||||
};
|
||||
|
||||
struct wait_opts {
|
||||
enum pid_type wo_type;
|
||||
int wo_flags;
|
||||
struct pid *wo_pid;
|
||||
|
||||
struct waitid_info *wo_info;
|
||||
int wo_stat;
|
||||
struct rusage *wo_rusage;
|
||||
|
||||
wait_queue_entry_t child_wait;
|
||||
int notask_error;
|
||||
};
|
||||
|
||||
bool pid_child_should_wake(struct wait_opts *wo, struct task_struct *p);
|
||||
long __do_wait(struct wait_opts *wo);
|
||||
int kernel_waitid_prepare(struct wait_opts *wo, int which, pid_t upid,
|
||||
struct waitid_info *infop, int options,
|
||||
struct rusage *ru);
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue