diff --git a/include/unistd.h b/include/unistd.h index 8a01d563fe99..e4e5c62fbb67 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -519,6 +519,7 @@ int iruserok(unsigned long, int, const char *, const char *); int iruserok_sa(const void *, int, int, const char *, const char *); int issetugid(void); void __FreeBSD_libc_enter_restricted_mode(void); +int kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2); long lpathconf(const char *, int); #ifndef _MKDTEMP_DECLARED char *mkdtemp(char *); diff --git a/lib/libc/sys/Symbol.map b/lib/libc/sys/Symbol.map index e9e3c7151c2f..a49229ace995 100644 --- a/lib/libc/sys/Symbol.map +++ b/lib/libc/sys/Symbol.map @@ -424,6 +424,10 @@ FBSD_1.7 { timerfd_settime; }; +FBSD_1.8 { + kcmp; +}; + FBSDprivate_1.0 { /* System call stubs */ ___acl_aclcheck_fd;