Index: lib/libc/include/compat.h =================================================================== --- lib/libc/include/compat.h (revision 240879) +++ lib/libc/include/compat.h (working copy) @@ -42,6 +42,8 @@ __sym_compat(msgctl, freebsd7_msgctl, FBSD_1.0); __sym_compat(shmctl, freebsd7_shmctl, FBSD_1.0); +__sym_compat(cap_getrights, cap_rights_get, FBSD_1.2); + #undef __sym_compat #endif /* __LIBC_COMPAT_H__ */ Index: lib/libc/sys/Symbol.map =================================================================== --- lib/libc/sys/Symbol.map (revision 240879) +++ lib/libc/sys/Symbol.map (working copy) @@ -364,7 +364,6 @@ cap_enter; cap_getmode; cap_new; - cap_getrights; getloginclass; pdfork; pdgetpid; @@ -379,6 +378,7 @@ }; FBSD_1.3 { + cap_rights_get; clock_getcpuclockid2; ffclock_getcounter; ffclock_getestimate; Index: sys/kern/syscalls.master =================================================================== --- sys/kern/syscalls.master (revision 240879) +++ sys/kern/syscalls.master (working copy) @@ -918,7 +918,7 @@ struct shmid_ds *buf); } 513 AUE_LPATHCONF STD { int lpathconf(char *path, int name); } 514 AUE_CAP_NEW STD { int cap_new(int fd, uint64_t rights); } -515 AUE_CAP_GETRIGHTS STD { int cap_getrights(int fd, \ +515 AUE_CAP_GETRIGHTS STD { int cap_rights_get(int fd, \ uint64_t *rightsp); } 516 AUE_CAP_ENTER STD { int cap_enter(void); } 517 AUE_CAP_GETMODE STD { int cap_getmode(u_int *modep); }