Mark various removed system calls as OBSOL instead of UNIMPL.
This is mostly a cosmetic change except that obsolete system calls are assigned meaningful names in the names arrays which means that using tools like kdump or truss against binaries invoking these system calls will print out the name instead of the number. The script I use to generate the XML list of syscalls for GDB also ignores UNIMPL but not OBSOL entries. In general UNIMPL should only be used to reserve placeholders for system calls that have never been implemented while system calls that existed at one time in FreeBSD but were removed should be marked OBSOL instead. Reviewed by: brooks, kib, imp Approved by: re (gjb) Differential Revision: https://reviews.freebsd.org/D17344
This commit is contained in:
parent
fe35316fed
commit
46e2054905
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339001
@ -343,10 +343,10 @@
|
|||||||
181 AUE_SETGID NOPROTO { int setgid(gid_t gid); }
|
181 AUE_SETGID NOPROTO { int setgid(gid_t gid); }
|
||||||
182 AUE_SETEGID NOPROTO { int setegid(gid_t egid); }
|
182 AUE_SETEGID NOPROTO { int setegid(gid_t egid); }
|
||||||
183 AUE_SETEUID NOPROTO { int seteuid(uid_t euid); }
|
183 AUE_SETEUID NOPROTO { int seteuid(uid_t euid); }
|
||||||
184 AUE_NULL UNIMPL lfs_bmapv
|
184 AUE_NULL OBSOL lfs_bmapv
|
||||||
185 AUE_NULL UNIMPL lfs_markv
|
185 AUE_NULL OBSOL lfs_markv
|
||||||
186 AUE_NULL UNIMPL lfs_segclean
|
186 AUE_NULL OBSOL lfs_segclean
|
||||||
187 AUE_NULL UNIMPL lfs_segwait
|
187 AUE_NULL OBSOL lfs_segwait
|
||||||
188 AUE_STAT COMPAT11 { int freebsd32_stat(char *path, \
|
188 AUE_STAT COMPAT11 { int freebsd32_stat(char *path, \
|
||||||
struct freebsd11_stat32 *ub); }
|
struct freebsd11_stat32 *ub); }
|
||||||
189 AUE_FSTAT COMPAT11 { int freebsd32_fstat(int fd, \
|
189 AUE_FSTAT COMPAT11 { int freebsd32_fstat(int fd, \
|
||||||
@ -414,7 +414,7 @@
|
|||||||
int semflg); }
|
int semflg); }
|
||||||
222 AUE_SEMOP NOSTD|NOPROTO { int semop(int semid, \
|
222 AUE_SEMOP NOSTD|NOPROTO { int semop(int semid, \
|
||||||
struct sembuf *sops, u_int nsops); }
|
struct sembuf *sops, u_int nsops); }
|
||||||
223 AUE_NULL UNIMPL semconfig
|
223 AUE_NULL OBSOL semconfig
|
||||||
224 AUE_MSGCTL COMPAT7|NOSTD { int freebsd32_msgctl( \
|
224 AUE_MSGCTL COMPAT7|NOSTD { int freebsd32_msgctl( \
|
||||||
int msqid, int cmd, \
|
int msqid, int cmd, \
|
||||||
struct msqid_ds32_old *buf); }
|
struct msqid_ds32_old *buf); }
|
||||||
@ -662,12 +662,12 @@
|
|||||||
struct kevent32_freebsd11 *eventlist, \
|
struct kevent32_freebsd11 *eventlist, \
|
||||||
int nevents, \
|
int nevents, \
|
||||||
const struct timespec32 *timeout); }
|
const struct timespec32 *timeout); }
|
||||||
364 AUE_NULL UNIMPL __cap_get_proc
|
364 AUE_NULL OBSOL __cap_get_proc
|
||||||
365 AUE_NULL UNIMPL __cap_set_proc
|
365 AUE_NULL OBSOL __cap_set_proc
|
||||||
366 AUE_NULL UNIMPL __cap_get_fd
|
366 AUE_NULL OBSOL __cap_get_fd
|
||||||
367 AUE_NULL UNIMPL __cap_get_file
|
367 AUE_NULL OBSOL __cap_get_file
|
||||||
368 AUE_NULL UNIMPL __cap_set_fd
|
368 AUE_NULL OBSOL __cap_set_fd
|
||||||
369 AUE_NULL UNIMPL __cap_set_file
|
369 AUE_NULL OBSOL __cap_set_file
|
||||||
370 AUE_NULL UNIMPL nosys
|
370 AUE_NULL UNIMPL nosys
|
||||||
371 AUE_EXTATTR_SET_FD NOPROTO { ssize_t extattr_set_fd(int fd, \
|
371 AUE_EXTATTR_SET_FD NOPROTO { ssize_t extattr_set_fd(int fd, \
|
||||||
int attrnamespace, const char *attrname, \
|
int attrnamespace, const char *attrname, \
|
||||||
@ -679,16 +679,16 @@
|
|||||||
int attrnamespace, \
|
int attrnamespace, \
|
||||||
const char *attrname); }
|
const char *attrname); }
|
||||||
374 AUE_SETUGID NOPROTO { int __setugid(int flag); }
|
374 AUE_SETUGID NOPROTO { int __setugid(int flag); }
|
||||||
375 AUE_NULL UNIMPL nfsclnt
|
375 AUE_NULL OBSOL nfsclnt
|
||||||
376 AUE_EACCESS NOPROTO { int eaccess(char *path, int amode); }
|
376 AUE_EACCESS NOPROTO { int eaccess(char *path, int amode); }
|
||||||
377 AUE_NULL UNIMPL afs_syscall
|
377 AUE_NULL UNIMPL afs_syscall
|
||||||
378 AUE_NMOUNT STD { int freebsd32_nmount(struct iovec32 *iovp, \
|
378 AUE_NMOUNT STD { int freebsd32_nmount(struct iovec32 *iovp, \
|
||||||
unsigned int iovcnt, int flags); }
|
unsigned int iovcnt, int flags); }
|
||||||
379 AUE_NULL UNIMPL kse_exit
|
379 AUE_NULL OBSOL kse_exit
|
||||||
380 AUE_NULL UNIMPL kse_wakeup
|
380 AUE_NULL OBSOL kse_wakeup
|
||||||
381 AUE_NULL UNIMPL kse_create
|
381 AUE_NULL OBSOL kse_create
|
||||||
382 AUE_NULL UNIMPL kse_thr_interrupt
|
382 AUE_NULL OBSOL kse_thr_interrupt
|
||||||
383 AUE_NULL UNIMPL kse_release
|
383 AUE_NULL OBSOL kse_release
|
||||||
384 AUE_NULL UNIMPL __mac_get_proc
|
384 AUE_NULL UNIMPL __mac_get_proc
|
||||||
385 AUE_NULL UNIMPL __mac_set_proc
|
385 AUE_NULL UNIMPL __mac_set_proc
|
||||||
386 AUE_NULL UNIMPL __mac_get_fd
|
386 AUE_NULL UNIMPL __mac_get_fd
|
||||||
@ -787,7 +787,7 @@
|
|||||||
439 AUE_EXTATTR_LIST_LINK NOPROTO { ssize_t extattr_list_link( \
|
439 AUE_EXTATTR_LIST_LINK NOPROTO { ssize_t extattr_list_link( \
|
||||||
const char *path, int attrnamespace, \
|
const char *path, int attrnamespace, \
|
||||||
void *data, size_t nbytes); }
|
void *data, size_t nbytes); }
|
||||||
440 AUE_NULL UNIMPL kse_switchin
|
440 AUE_NULL OBSOL kse_switchin
|
||||||
441 AUE_SEMWAIT NOSTD { int freebsd32_ksem_timedwait(semid_t id, \
|
441 AUE_SEMWAIT NOSTD { int freebsd32_ksem_timedwait(semid_t id, \
|
||||||
const struct timespec32 *abstime); }
|
const struct timespec32 *abstime); }
|
||||||
442 AUE_NULL STD { int freebsd32_thr_suspend( \
|
442 AUE_NULL STD { int freebsd32_thr_suspend( \
|
||||||
@ -1074,8 +1074,8 @@
|
|||||||
547 AUE_FUTIMESAT STD { int freebsd32_utimensat(int fd, \
|
547 AUE_FUTIMESAT STD { int freebsd32_utimensat(int fd, \
|
||||||
char *path, \
|
char *path, \
|
||||||
struct timespec *times, int flag); }
|
struct timespec *times, int flag); }
|
||||||
548 AUE_NULL UNIMPL numa_getaffinity
|
548 AUE_NULL OBSOL numa_getaffinity
|
||||||
549 AUE_NULL UNIMPL numa_setaffinity
|
549 AUE_NULL OBSOL numa_setaffinity
|
||||||
550 AUE_FSYNC NOPROTO { int fdatasync(int fd); }
|
550 AUE_FSYNC NOPROTO { int fdatasync(int fd); }
|
||||||
551 AUE_FSTAT STD { int freebsd32_fstat(int fd, \
|
551 AUE_FSTAT STD { int freebsd32_fstat(int fd, \
|
||||||
struct stat32 *ub); }
|
struct stat32 *ub); }
|
||||||
|
@ -459,10 +459,10 @@
|
|||||||
181 AUE_SETGID STD { int setgid(gid_t gid); }
|
181 AUE_SETGID STD { int setgid(gid_t gid); }
|
||||||
182 AUE_SETEGID STD { int setegid(gid_t egid); }
|
182 AUE_SETEGID STD { int setegid(gid_t egid); }
|
||||||
183 AUE_SETEUID STD { int seteuid(uid_t euid); }
|
183 AUE_SETEUID STD { int seteuid(uid_t euid); }
|
||||||
184 AUE_NULL UNIMPL lfs_bmapv
|
184 AUE_NULL OBSOL lfs_bmapv
|
||||||
185 AUE_NULL UNIMPL lfs_markv
|
185 AUE_NULL OBSOL lfs_markv
|
||||||
186 AUE_NULL UNIMPL lfs_segclean
|
186 AUE_NULL OBSOL lfs_segclean
|
||||||
187 AUE_NULL UNIMPL lfs_segwait
|
187 AUE_NULL OBSOL lfs_segwait
|
||||||
188 AUE_STAT COMPAT11 { int stat(_In_z_ char *path, \
|
188 AUE_STAT COMPAT11 { int stat(_In_z_ char *path, \
|
||||||
_Out_ struct freebsd11_stat *ub); }
|
_Out_ struct freebsd11_stat *ub); }
|
||||||
189 AUE_FSTAT COMPAT11 { int fstat(int fd, \
|
189 AUE_FSTAT COMPAT11 { int fstat(int fd, \
|
||||||
@ -536,7 +536,7 @@
|
|||||||
222 AUE_SEMOP NOSTD { int semop(int semid, \
|
222 AUE_SEMOP NOSTD { int semop(int semid, \
|
||||||
_In_reads_(nsops) struct sembuf *sops, \
|
_In_reads_(nsops) struct sembuf *sops, \
|
||||||
size_t nsops); }
|
size_t nsops); }
|
||||||
223 AUE_NULL UNIMPL semconfig
|
223 AUE_NULL OBSOL semconfig
|
||||||
224 AUE_MSGCTL COMPAT7|NOSTD { int msgctl(int msqid, int cmd, \
|
224 AUE_MSGCTL COMPAT7|NOSTD { int msgctl(int msqid, int cmd, \
|
||||||
struct msqid_ds_old *buf); }
|
struct msqid_ds_old *buf); }
|
||||||
225 AUE_MSGGET NOSTD { int msgget(key_t key, int msgflg); }
|
225 AUE_MSGGET NOSTD { int msgget(key_t key, int msgflg); }
|
||||||
@ -821,12 +821,12 @@
|
|||||||
struct kevent_freebsd11 *eventlist, \
|
struct kevent_freebsd11 *eventlist, \
|
||||||
int nevents, \
|
int nevents, \
|
||||||
_In_opt_ const struct timespec *timeout); }
|
_In_opt_ const struct timespec *timeout); }
|
||||||
364 AUE_NULL UNIMPL __cap_get_proc
|
364 AUE_NULL OBSOL __cap_get_proc
|
||||||
365 AUE_NULL UNIMPL __cap_set_proc
|
365 AUE_NULL OBSOL __cap_set_proc
|
||||||
366 AUE_NULL UNIMPL __cap_get_fd
|
366 AUE_NULL OBSOL __cap_get_fd
|
||||||
367 AUE_NULL UNIMPL __cap_get_file
|
367 AUE_NULL OBSOL __cap_get_file
|
||||||
368 AUE_NULL UNIMPL __cap_set_fd
|
368 AUE_NULL OBSOL __cap_set_fd
|
||||||
369 AUE_NULL UNIMPL __cap_set_file
|
369 AUE_NULL OBSOL __cap_set_file
|
||||||
370 AUE_NULL UNIMPL nosys
|
370 AUE_NULL UNIMPL nosys
|
||||||
371 AUE_EXTATTR_SET_FD STD { ssize_t extattr_set_fd(int fd, \
|
371 AUE_EXTATTR_SET_FD STD { ssize_t extattr_set_fd(int fd, \
|
||||||
int attrnamespace, \
|
int attrnamespace, \
|
||||||
@ -842,7 +842,7 @@
|
|||||||
int attrnamespace, \
|
int attrnamespace, \
|
||||||
_In_z_ const char *attrname); }
|
_In_z_ const char *attrname); }
|
||||||
374 AUE_SETUGID STD { int __setugid(int flag); }
|
374 AUE_SETUGID STD { int __setugid(int flag); }
|
||||||
375 AUE_NULL UNIMPL nfsclnt
|
375 AUE_NULL OBSOL nfsclnt
|
||||||
376 AUE_EACCESS STD { int eaccess(_In_z_ char *path, int amode); }
|
376 AUE_EACCESS STD { int eaccess(_In_z_ char *path, int amode); }
|
||||||
377 AUE_NULL NOSTD|NOTSTATIC { int afs3_syscall(long syscall, \
|
377 AUE_NULL NOSTD|NOTSTATIC { int afs3_syscall(long syscall, \
|
||||||
long parm1, long parm2, long parm3, \
|
long parm1, long parm2, long parm3, \
|
||||||
@ -850,11 +850,11 @@
|
|||||||
378 AUE_NMOUNT STD { int nmount( \
|
378 AUE_NMOUNT STD { int nmount( \
|
||||||
_In_reads_(iovcnt) struct iovec *iovp, \
|
_In_reads_(iovcnt) struct iovec *iovp, \
|
||||||
unsigned int iovcnt, int flags); }
|
unsigned int iovcnt, int flags); }
|
||||||
379 AUE_NULL UNIMPL kse_exit
|
379 AUE_NULL OBSOL kse_exit
|
||||||
380 AUE_NULL UNIMPL kse_wakeup
|
380 AUE_NULL OBSOL kse_wakeup
|
||||||
381 AUE_NULL UNIMPL kse_create
|
381 AUE_NULL OBSOL kse_create
|
||||||
382 AUE_NULL UNIMPL kse_thr_interrupt
|
382 AUE_NULL OBSOL kse_thr_interrupt
|
||||||
383 AUE_NULL UNIMPL kse_release
|
383 AUE_NULL OBSOL kse_release
|
||||||
384 AUE_NULL STD { int __mac_get_proc( \
|
384 AUE_NULL STD { int __mac_get_proc( \
|
||||||
_In_ struct mac *mac_p); }
|
_In_ struct mac *mac_p); }
|
||||||
385 AUE_NULL STD { int __mac_set_proc( \
|
385 AUE_NULL STD { int __mac_set_proc( \
|
||||||
@ -994,7 +994,7 @@
|
|||||||
int attrnamespace, \
|
int attrnamespace, \
|
||||||
_Out_writes_bytes_opt_(nbytes) \
|
_Out_writes_bytes_opt_(nbytes) \
|
||||||
void *data, size_t nbytes); }
|
void *data, size_t nbytes); }
|
||||||
440 AUE_NULL UNIMPL kse_switchin
|
440 AUE_NULL OBSOL kse_switchin
|
||||||
441 AUE_SEMWAIT NOSTD { int ksem_timedwait(semid_t id, \
|
441 AUE_SEMWAIT NOSTD { int ksem_timedwait(semid_t id, \
|
||||||
_In_opt_ const struct timespec *abstime); }
|
_In_opt_ const struct timespec *abstime); }
|
||||||
442 AUE_NULL STD { int thr_suspend( \
|
442 AUE_NULL STD { int thr_suspend( \
|
||||||
@ -1295,8 +1295,8 @@
|
|||||||
_In_reads_(2) \
|
_In_reads_(2) \
|
||||||
struct timespec *times, \
|
struct timespec *times, \
|
||||||
int flag); }
|
int flag); }
|
||||||
548 AUE_NULL UNIMPL numa_getaffinity
|
548 AUE_NULL OBSOL numa_getaffinity
|
||||||
549 AUE_NULL UNIMPL numa_setaffinity
|
549 AUE_NULL OBSOL numa_setaffinity
|
||||||
550 AUE_FSYNC STD { int fdatasync(int fd); }
|
550 AUE_FSYNC STD { int fdatasync(int fd); }
|
||||||
551 AUE_FSTAT STD { int fstat(int fd, _Out_ struct stat *sb); }
|
551 AUE_FSTAT STD { int fstat(int fd, _Out_ struct stat *sb); }
|
||||||
552 AUE_FSTATAT STD { int fstatat(int fd, _In_z_ char *path, \
|
552 AUE_FSTATAT STD { int fstatat(int fd, _In_z_ char *path, \
|
||||||
|
Loading…
Reference in New Issue
Block a user