mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
Add chown() syscall and a simple /bin/chown program.
This commit is contained in:
parent
711e2b2651
commit
1d2529b4a1
19 changed files with 130 additions and 5 deletions
|
@ -122,6 +122,8 @@ public:
|
|||
|
||||
mode_t umask() const { return m_umask; }
|
||||
|
||||
bool in_group(gid_t) const;
|
||||
|
||||
const FarPtr& far_ptr() const { return m_far_ptr; }
|
||||
|
||||
FileDescriptor* file_descriptor(int fd);
|
||||
|
@ -216,6 +218,7 @@ public:
|
|||
int sys$rmdir(const char* pathname);
|
||||
int sys$read_tsc(dword* lsw, dword* msw);
|
||||
int sys$chmod(const char* pathname, mode_t);
|
||||
int sys$chown(const char* pathname, uid_t, gid_t);
|
||||
int sys$socket(int domain, int type, int protocol);
|
||||
int sys$bind(int sockfd, const sockaddr* addr, socklen_t);
|
||||
int sys$listen(int sockfd, int backlog);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue