freebsd-skq/lib/libc/sys/Symbol.map
jhb d3ef75b6c7 Extend the support for exempting processes from being killed when swap is
exhausted.
- Add a new protect(1) command that can be used to set or revoke protection
  from arbitrary processes.  Similar to ktrace it can apply a change to all
  existing descendants of a process as well as future descendants.
- Add a new procctl(2) system call that provides a generic interface for
  control operations on processes (as opposed to the debugger-specific
  operations provided by ptrace(2)).  procctl(2) uses a combination of
  idtype_t and an id to identify the set of processes on which to operate
  similar to wait6().
- Add a PROC_SPROTECT control operation to manage the protection status
  of a set of processes.  MADV_PROTECT still works for backwards
  compatability.
- Add a p_flag2 to struct proc (and a corresponding ki_flag2 to kinfo_proc)
  the first bit of which is used to track if P_PROTECT should be inherited
  by new child processes.

Reviewed by:	kib, jilles (earlier version)
Approved by:	re (delphij)
MFC after:	1 month
2013-09-19 18:53:42 +00:00

1049 lines
15 KiB
Plaintext

/*
* $FreeBSD$
*/
/*
* It'd be nice to have this automatically generated, but we don't
* know to what version they will eventually belong, so for now
* it has to be manual.
*/
FBSD_1.0 {
__acl_aclcheck_fd;
__acl_aclcheck_file;
__acl_aclcheck_link;
__acl_delete_fd;
__acl_delete_file;
__acl_delete_link;
__acl_get_fd;
__acl_get_file;
__acl_get_link;
__acl_set_fd;
__acl_set_file;
__acl_set_link;
__getcwd;
__mac_execve;
__mac_get_fd;
__mac_get_file;
__mac_get_link;
__mac_get_pid;
__mac_get_proc;
__mac_set_fd;
__mac_set_file;
__mac_set_link;
__mac_set_proc;
__setugid;
__syscall;
__sysctl;
_umtx_lock;
_umtx_op;
_umtx_unlock;
abort2;
accept;
access;
acct;
adjtime;
aio_cancel;
aio_error;
aio_fsync;
aio_read;
aio_return;
aio_suspend;
aio_waitcomplete;
aio_write;
audit;
auditctl;
auditon;
bind;
chdir;
chflags;
__chk_fail;
chmod;
chown;
chroot;
clock_getres;
clock_gettime;
clock_settime;
close;
connect;
dup;
dup2;
eaccess;
execve;
extattr_delete_fd;
extattr_delete_file;
extattr_delete_link;
extattr_get_fd;
extattr_get_file;
extattr_get_link;
extattr_list_fd;
extattr_list_file;
extattr_list_link;
extattr_set_fd;
extattr_set_file;
extattr_set_link;
extattrctl;
fchdir;
fchflags;
fchmod;
fchown;
fcntl;
fhopen;
fhstat;
fhstatfs;
flock;
fork;
fpathconf;
fstat;
fstatfs;
fsync;
futimes;
getaudit;
getaudit_addr;
getauid;
getcontext;
getdents;
getdirentries;
getdtablesize;
getegid;
geteuid;
getfh;
getfsstat;
getgid;
getgroups;
getitimer;
getpeername;
getpgid;
getpgrp;
getpid;
getppid;
getpriority;
getresgid;
getresuid;
getrlimit;
getrusage;
getsid;
getsockname;
getsockopt;
gettimeofday;
getuid;
ioctl;
issetugid;
jail;
jail_attach;
kenv;
kevent;
kill;
kldfind;
kldfirstmod;
kldload;
kldnext;
kldstat;
kldsym;
kldunload;
kldunloadf;
kqueue;
kmq_notify; /* Do we want these to be public interfaces? */
kmq_open; /* librt uses them to provide mq_xxx. */
kmq_setattr;
kmq_timedreceive;
kmq_timedsend;
kmq_unlink;
ksem_close;
ksem_destroy;
ksem_getvalue;
ksem_init;
ksem_open;
ksem_post;
ksem_timedwait;
ksem_trywait;
ksem_unlink;
ksem_wait;
ktrace;
lchflags;
lchmod;
lchown;
lgetfh;
link;
lio_listio;
listen;
lstat;
lutimes;
mac_syscall;
madvise;
mincore;
minherit;
mkdir;
mkfifo;
mknod;
mlock;
mlockall;
modfind;
modfnext;
modnext;
modstat;
mount;
mprotect;
msgget;
msgrcv;
msgsnd;
msgsys;
msync;
munlock;
munlockall;
munmap;
nanosleep;
netbsd_lchown;
netbsd_msync;
nfssvc;
nfstat;
nlstat;
nmount;
nstat;
ntp_adjtime;
ntp_gettime;
oaio_read;
oaio_write;
olio_listio;
open;
pathconf;
pipe;
poll;
posix_openpt;
preadv;
profil;
pselect;
ptrace;
pwritev;
quotactl;
read;
readlink;
readv;
reboot;
recvfrom;
recvmsg;
rename;
revoke;
rfork;
rmdir;
rtprio;
rtprio_thread;
sched_get_priority_max;
sched_get_priority_min;
sched_getparam;
sched_getscheduler;
sched_rr_get_interval;
sched_setparam;
sched_setscheduler;
sched_yield;
select;
semget;
semop;
semsys;
sendfile;
sendmsg;
sendto;
setaudit;
setaudit_addr;
setauid;
setcontext;
setegid;
seteuid;
setgid;
setgroups;
setitimer;
setlogin;
setpgid;
setpriority;
setregid;
setresgid;
setresuid;
setreuid;
setrlimit;
setsid;
setsockopt;
settimeofday;
setuid;
shm_open;
shm_unlink;
shmat;
shmdt;
shmget;
shmsys;
shutdown;
sigaction;
sigaltstack;
sigpending;
sigprocmask;
sigqueue;
sigreturn;
sigsuspend;
sigtimedwait;
sigwait;
sigwaitinfo;
socket;
socketpair;
__stack_chk_fail;
__stack_chk_guard;
stat;
statfs;
swapcontext;
swapoff;
swapon;
symlink;
sync;
sysarch;
syscall;
thr_create;
thr_exit;
thr_kill;
thr_kill2;
thr_new;
thr_self;
thr_set_name;
thr_suspend;
thr_wake;
ktimer_create; /* Do we want these to be public interfaces? */
ktimer_delete; /* librt uses them to provide timer_xxx. */
ktimer_getoverrun;
ktimer_gettime;
ktimer_settime;
umask;
undelete;
unlink;
unmount;
utimes;
utrace;
uuidgen;
vadvise;
wait4;
write;
writev;
__error;
ftruncate;
lseek;
mmap;
pread;
pwrite;
truncate;
};
FBSD_1.1 {
__semctl;
closefrom;
cpuset;
cpuset_getid;
cpuset_setid;
cpuset_getaffinity;
cpuset_setaffinity;
faccessat;
fchmodat;
fchownat;
fexecve;
fstatat;
futimesat;
jail_get;
jail_set;
jail_remove;
linkat;
lpathconf;
mkdirat;
mkfifoat;
mknodat;
msgctl;
openat;
readlinkat;
renameat;
setfib;
shmctl;
symlinkat;
unlinkat;
};
FBSD_1.2 {
cap_enter;
cap_getmode;
getloginclass;
pdfork;
pdgetpid;
pdkill;
posix_fallocate;
rctl_get_racct;
rctl_get_rules;
rctl_get_limits;
rctl_add_rule;
rctl_remove_rule;
setloginclass;
};
FBSD_1.3 {
accept4;
aio_mlock;
bindat;
cap_fcntls_get;
cap_fcntls_limit;
cap_ioctls_get;
cap_ioctls_limit;
__cap_rights_get;
cap_rights_limit;
cap_sandboxed;
chflagsat;
clock_getcpuclockid2;
connectat;
ffclock_getcounter;
ffclock_getestimate;
ffclock_setestimate;
pipe2;
posix_fadvise;
procctl;
wait6;
};
FBSDprivate_1.0 {
___acl_aclcheck_fd;
__sys___acl_aclcheck_fd;
___acl_aclcheck_file;
__sys___acl_aclcheck_file;
___acl_aclcheck_link;
__sys___acl_aclcheck_link;
___acl_delete_fd;
__sys___acl_delete_fd;
___acl_delete_file;
__sys___acl_delete_file;
___acl_delete_link;
__sys___acl_delete_link;
___acl_get_fd;
__sys___acl_get_fd;
___acl_get_file;
__sys___acl_get_file;
___acl_get_link;
__sys___acl_get_link;
___acl_set_fd;
__sys___acl_set_fd;
___acl_set_file;
__sys___acl_set_file;
___acl_set_link;
__sys___acl_set_link;
___getcwd;
__sys___getcwd;
___mac_execve;
__sys___mac_execve;
___mac_get_fd;
__sys___mac_get_fd;
___mac_get_file;
__sys___mac_get_file;
___mac_get_link;
__sys___mac_get_link;
___mac_get_pid;
__sys___mac_get_pid;
___mac_get_proc;
__sys___mac_get_proc;
___mac_set_fd;
__sys___mac_set_fd;
___mac_set_file;
__sys___mac_set_file;
___mac_set_link;
__sys___mac_set_link;
___mac_set_proc;
__sys___mac_set_proc;
___semctl;
__sys___semctl;
___setugid;
__sys___setugid;
___syscall;
__sys___syscall;
___sysctl;
__sys___sysctl;
__umtx_lock;
__sys__umtx_lock;
__umtx_op;
__sys__umtx_op;
__umtx_unlock;
__sys__umtx_unlock;
_abort2;
__sys_abort2;
_accept;
__sys_accept;
_accept4;
__sys_accept4;
_access;
__sys_access;
_acct;
__sys_acct;
_adjtime;
__sys_adjtime;
_aio_cancel;
__sys_aio_cancel;
_aio_error;
__sys_aio_error;
_aio_fsync;
__sys_aio_fsync;
_aio_read;
__sys_aio_read;
_aio_return;
__sys_aio_return;
_aio_suspend;
__sys_aio_suspend;
_aio_waitcomplete;
__sys_aio_waitcomplete;
_aio_write;
__sys_aio_write;
_audit;
__sys_audit;
_auditctl;
__sys_auditctl;
_auditon;
__sys_auditon;
_bind;
__sys_bind;
_chdir;
__sys_chdir;
_chflags;
__sys_chflags;
_chmod;
__sys_chmod;
_chown;
__sys_chown;
_chroot;
__sys_chroot;
_clock_getcpuclockid2;
__sys_clock_getcpuclockid2;
_clock_getres;
__sys_clock_getres;
_clock_gettime;
__sys_clock_gettime;
_clock_settime;
__sys_clock_settime;
_close;
__sys_close;
_closefrom;
__sys_closefrom;
_connect;
__sys_connect;
_cpuset;
__sys_cpuset;
_cpuset_getid;
__sys_cpuset_getid;
_cpuset_setid;
__sys_cpuset_setid;
_cpuset_getaffinity;
__sys_cpuset_getaffinity;
_cpuset_setaffinity;
__sys_cpuset_setaffinity;
_dup;
__sys_dup;
_dup2;
__sys_dup2;
_eaccess;
__sys_eaccess;
_execve;
__sys_execve;
_extattr_delete_fd;
__sys_extattr_delete_fd;
_extattr_delete_file;
__sys_extattr_delete_file;
_extattr_delete_link;
__sys_extattr_delete_link;
_extattr_get_fd;
__sys_extattr_get_fd;
_extattr_get_file;
__sys_extattr_get_file;
_extattr_get_link;
__sys_extattr_get_link;
_extattr_list_fd;
__sys_extattr_list_fd;
_extattr_list_file;
__sys_extattr_list_file;
_extattr_list_link;
__sys_extattr_list_link;
_extattr_set_fd;
__sys_extattr_set_fd;
_extattr_set_file;
__sys_extattr_set_file;
_extattr_set_link;
__sys_extattr_set_link;
_extattrctl;
__sys_extattrctl;
_fchdir;
__sys_fchdir;
_fchflags;
__sys_fchflags;
_fchmod;
__sys_fchmod;
_fchown;
__sys_fchown;
_fcntl;
__sys_fcntl;
__fcntl_compat;
_fhopen;
__sys_fhopen;
_fhstat;
__sys_fhstat;
_fhstatfs;
__sys_fhstatfs;
_flock;
__sys_flock;
_fork;
__sys_fork;
_fpathconf;
__sys_fpathconf;
_fstat;
__sys_fstat;
_fstatfs;
__sys_fstatfs;
_fsync;
__sys_fsync;
_futimes;
__sys_futimes;
_getaudit;
__sys_getaudit;
_getaudit_addr;
__sys_getaudit_addr;
_getauid;
__sys_getauid;
_getcontext;
__sys_getcontext;
_getdents;
__sys_getdents;
_getdirentries;
__sys_getdirentries;
_getdtablesize;
__sys_getdtablesize;
_getegid;
__sys_getegid;
_geteuid;
__sys_geteuid;
_getfh;
__sys_getfh;
_getfsstat;
__sys_getfsstat;
_getgid;
__sys_getgid;
_getgroups;
__sys_getgroups;
_getitimer;
__sys_getitimer;
_getpeername;
__sys_getpeername;
_getpgid;
__sys_getpgid;
_getpgrp;
__sys_getpgrp;
_getpid;
__sys_getpid;
_getppid;
__sys_getppid;
_getpriority;
__sys_getpriority;
_getresgid;
__sys_getresgid;
_getresuid;
__sys_getresuid;
_getrlimit;
__sys_getrlimit;
_getrusage;
__sys_getrusage;
_getsid;
__sys_getsid;
_getsockname;
__sys_getsockname;
_getsockopt;
__sys_getsockopt;
_gettimeofday;
__sys_gettimeofday;
_getuid;
__sys_getuid;
_ioctl;
__sys_ioctl;
_issetugid;
__sys_issetugid;
_jail;
__sys_jail;
_jail_attach;
__sys_jail_attach;
_kenv;
__sys_kenv;
_kevent;
__sys_kevent;
_kill;
__sys_kill;
_kldfind;
__sys_kldfind;
_kldfirstmod;
__sys_kldfirstmod;
_kldload;
__sys_kldload;
_kldnext;
__sys_kldnext;
_kldstat;
__sys_kldstat;
_kldsym;
__sys_kldsym;
_kldunload;
__sys_kldunload;
_kldunloadf;
__sys_kldunloadf;
_kmq_notify;
__sys_kmq_notify;
_kmq_open;
__sys_kmq_open;
_kmq_setattr;
__sys_kmq_setattr;
_kmq_timedreceive;
__sys_kmq_timedreceive;
_kmq_timedsend;
__sys_kmq_timedsend;
_kmq_unlink;
__sys_kmq_unlink;
_kqueue;
__sys_kqueue;
_ksem_close;
__sys_ksem_close;
_ksem_destroy;
__sys_ksem_destroy;
_ksem_getvalue;
__sys_ksem_getvalue;
_ksem_init;
__sys_ksem_init;
_ksem_open;
__sys_ksem_open;
_ksem_post;
__sys_ksem_post;
_ksem_timedwait;
__sys_ksem_timedwait;
_ksem_trywait;
__sys_ksem_trywait;
_ksem_unlink;
__sys_ksem_unlink;
_ksem_wait;
__sys_ksem_wait;
_ktrace;
__sys_ktrace;
_lchflags;
__sys_lchflags;
_lchmod;
__sys_lchmod;
_lchown;
__sys_lchown;
_lgetfh;
__sys_lgetfh;
_link;
__sys_link;
_lio_listio;
__sys_lio_listio;
_listen;
__sys_listen;
_lstat;
__sys_lstat;
_lutimes;
__sys_lutimes;
_mac_syscall;
__sys_mac_syscall;
_madvise;
__sys_madvise;
_mincore;
__sys_mincore;
_minherit;
__sys_minherit;
_mkdir;
__sys_mkdir;
_mkfifo;
__sys_mkfifo;
_mknod;
__sys_mknod;
_mlock;
__sys_mlock;
_mlockall;
__sys_mlockall;
_modfind;
__sys_modfind;
_modfnext;
__sys_modfnext;
_modnext;
__sys_modnext;
_modstat;
__sys_modstat;
_mount;
__sys_mount;
_mprotect;
__sys_mprotect;
_msgctl;
__sys_msgctl;
_msgget;
__sys_msgget;
_msgrcv;
__sys_msgrcv;
_msgsnd;
__sys_msgsnd;
_msgsys;
__sys_msgsys;
_msync;
__sys_msync;
_munlock;
__sys_munlock;
_munlockall;
__sys_munlockall;
_munmap;
__sys_munmap;
_nanosleep;
__sys_nanosleep;
_netbsd_lchown;
__sys_netbsd_lchown;
_netbsd_msync;
__sys_netbsd_msync;
_nfssvc;
__sys_nfssvc;
_nfstat;
__sys_nfstat;
_nlstat;
__sys_nlstat;
_nmount;
__sys_nmount;
_nstat;
__sys_nstat;
_ntp_adjtime;
__sys_ntp_adjtime;
_ntp_gettime;
__sys_ntp_gettime;
_oaio_read;
__sys_oaio_read;
_oaio_write;
__sys_oaio_write;
_olio_listio;
__sys_olio_listio;
_open;
__sys_open;
_openat;
__sys_openat;
_pathconf;
__sys_pathconf;
_pipe;
__sys_pipe;
_poll;
__sys_poll;
_preadv;
__sys_preadv;
_procctl;
__sys_procctl;
_profil;
__sys_profil;
_pselect;
__sys_pselect;
_ptrace;
__sys_ptrace;
_pwritev;
__sys_pwritev;
_quotactl;
__sys_quotactl;
_read;
__sys_read;
_readlink;
__sys_readlink;
_readv;
__sys_readv;
_reboot;
__sys_reboot;
_recvfrom;
__sys_recvfrom;
_recvmsg;
__sys_recvmsg;
_rename;
__sys_rename;
_revoke;
__sys_revoke;
_rfork;
__sys_rfork;
_rmdir;
__sys_rmdir;
_rtprio;
__sys_rtprio;
_rtprio_thread;
__sys_rtprio_thread;
_sched_get_priority_max;
__sys_sched_get_priority_max;
_sched_get_priority_min;
__sys_sched_get_priority_min;
_sched_getparam;
__sys_sched_getparam;
_sched_getscheduler;
__sys_sched_getscheduler;
_sched_rr_get_interval;
__sys_sched_rr_get_interval;
_sched_setparam;
__sys_sched_setparam;
_sched_setscheduler;
__sys_sched_setscheduler;
_sched_yield;
__sys_sched_yield;
_select;
__sys_select;
_semget;
__sys_semget;
_semop;
__sys_semop;
_semsys;
__sys_semsys;
_sendfile;
__sys_sendfile;
_sendmsg;
__sys_sendmsg;
_sendto;
__sys_sendto;
_setaudit;
__sys_setaudit;
_setaudit_addr;
__sys_setaudit_addr;
_setauid;
__sys_setauid;
_setcontext;
__sys_setcontext;
_setegid;
__sys_setegid;
_seteuid;
__sys_seteuid;
_setgid;
__sys_setgid;
_setgroups;
__sys_setgroups;
_setitimer;
__sys_setitimer;
_setlogin;
__sys_setlogin;
_setpgid;
__sys_setpgid;
_setpriority;
__sys_setpriority;
_setregid;
__sys_setregid;
_setresgid;
__sys_setresgid;
_setresuid;
__sys_setresuid;
_setreuid;
__sys_setreuid;
_setrlimit;
__sys_setrlimit;
_setsid;
__sys_setsid;
_setsockopt;
__sys_setsockopt;
_settimeofday;
__sys_settimeofday;
_setuid;
__sys_setuid;
_shm_open;
__sys_shm_open;
_shm_unlink;
__sys_shm_unlink;
_shmat;
__sys_shmat;
_shmctl;
__sys_shmctl;
_shmdt;
__sys_shmdt;
_shmget;
__sys_shmget;
_shmsys;
__sys_shmsys;
_shutdown;
__sys_shutdown;
_sigaction;
__sys_sigaction;
_sigaltstack;
__sys_sigaltstack;
_sigpending;
__sys_sigpending;
_sigprocmask;
__sys_sigprocmask;
_sigqueue;
__sys_sigqueue;
_sigreturn;
__sys_sigreturn;
_sigsuspend;
__sys_sigsuspend;
_sigtimedwait;
__sys_sigtimedwait;
_sigwait;
__sigwait;
__sys_sigwait;
_sigwaitinfo;
__sys_sigwaitinfo;
_socket;
__sys_socket;
_socketpair;
__sys_socketpair;
_stat;
__sys_stat;
_statfs;
__sys_statfs;
_swapcontext;
__sys_swapcontext;
_swapoff;
__sys_swapoff;
_swapon;
__sys_swapon;
_symlink;
__sys_symlink;
_sync;
__sys_sync;
_sysarch;
__sys_sysarch;
_syscall;
__sys_syscall;
_thr_create;
__sys_thr_create;
_thr_exit;
__sys_thr_exit;
_thr_kill;
__sys_thr_kill;
_thr_kill2;
__sys_thr_kill2;
_thr_new;
__sys_thr_new;
_thr_self;
__sys_thr_self;
_thr_set_name;
__sys_thr_set_name;
_thr_suspend;
__sys_thr_suspend;
_thr_wake;
__sys_thr_wake;
_ktimer_create;
__sys_ktimer_create;
_ktimer_delete;
__sys_ktimer_delete;
_ktimer_getoverrun;
__sys_ktimer_getoverrun;
_ktimer_gettime;
__sys_ktimer_gettime;
_ktimer_settime;
__sys_ktimer_settime;
_umask;
__sys_umask;
_undelete;
__sys_undelete;
_unlink;
__sys_unlink;
_unmount;
__sys_unmount;
_utimes;
__sys_utimes;
_utrace;
__sys_utrace;
_uuidgen;
__sys_uuidgen;
_vadvise;
__sys_vadvise;
_wait4;
__sys_wait4;
_wait6;
__sys_wait6;
_write;
__sys_write;
_writev;
__sys_writev;
__error_unthreaded;
nlm_syscall;
gssd_syscall;
};