Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
bwh
/
klibc
/
ab00e92e990a4ff8a1a6c5c6c6ac3eda3816f18f
/
.
/
usr
/
klibc
/
chown.c
blob: 089cfc593b9a5e07bb3e3838f6f3fc2cf4f89806 [
file
] [
log
] [
blame
]
#include
<fcntl.h>
#include
<unistd.h>
#include
<sys/syscall.h>
#ifndef
__NR_chown
int
chown
(
const
char
*
path
,
uid_t
owner
,
gid_t
group
)
{
return
fchownat
(
AT_FDCWD
,
path
,
owner
,
group
,
0
);
}
#endif
/* __NR_chown */