mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 02:37:15 +00:00
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
This commit is contained in:
parent
d8decc9ae3
commit
211bdd601e
|
@ -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 iruserok_sa(const void *, int, int, const char *, const char *);
|
||||||
int issetugid(void);
|
int issetugid(void);
|
||||||
void __FreeBSD_libc_enter_restricted_mode(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);
|
long lpathconf(const char *, int);
|
||||||
#ifndef _MKDTEMP_DECLARED
|
#ifndef _MKDTEMP_DECLARED
|
||||||
char *mkdtemp(char *);
|
char *mkdtemp(char *);
|
||||||
|
|
|
@ -424,6 +424,10 @@ FBSD_1.7 {
|
||||||
timerfd_settime;
|
timerfd_settime;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
FBSD_1.8 {
|
||||||
|
kcmp;
|
||||||
|
};
|
||||||
|
|
||||||
FBSDprivate_1.0 {
|
FBSDprivate_1.0 {
|
||||||
/* System call stubs */
|
/* System call stubs */
|
||||||
___acl_aclcheck_fd;
|
___acl_aclcheck_fd;
|
||||||
|
|
Loading…
Reference in a new issue