blob: 02693a92d178fa93fb17b28f212d20f2b8a0aec1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <syscall.h> // for __syscall_3, syscall
#include <unistd.h> // for chown, gid_t, uid_t
int chown(const char *path, uid_t owner, gid_t group)
{
return syscall(chown, path, owner, group);
}
|