diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2024-01-19 19:55:11 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2024-01-24 05:11:26 +0000 |
commit | 211bdd601ee51f90da9b123807ef68ac122116b9 (patch) | |
tree | 7bd6d678367da2451a597025e63fa7febd0d9aca /include | |
parent | d8decc9ae31af7ffc77276c89639fb13eb1020cc (diff) | |
download | src-211bdd601ee51f90da9b123807ef68ac122116b9.tar.gz src-211bdd601ee51f90da9b123807ef68ac122116b9.zip |
Add kcmp(2) userspace bits
Unlike Linux, we do provide libc wrapper. All definitions and
prototypes are available from <unistd.h>
Tested by: manu
Reviewed by: brooks, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D43518
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 *); |