1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 08:10:59 +00:00
serenity/LibC/sys
Andreas Kling c30e2c8d44 Implement basic chmod() syscall and /bin/chmod helper.
Only raw octal modes are supported right now.
This patch also changes mode_t from 32-bit to 16-bit to match the on-disk
type used by Ext2FS.

I also ran into EPERM being errno=0 which was confusing, so I inserted an
ESUCCESS in its place.
2019-01-29 04:55:08 +01:00
..
cdefs.h Various stubs while trying to get an old coreutils to build. 2018-11-17 15:56:09 +01:00
file.h Tiny LibC things. 2018-11-05 14:54:11 +01:00
ioctl.h Add TIOCGWINSZ ioctl so userland can determine terminal geometry. 2018-11-29 03:45:23 +01:00
ioctl_numbers.h Make it possible for a process to switch controlling terminals. 2019-01-15 08:49:24 +01:00
mman.h Add getpwent() family of functions to LibC. 2018-10-31 19:54:25 +01:00
param.h Add getwd(). 2018-11-06 15:59:57 +01:00
resource.h More work towards getting bash to build. 2018-11-05 19:01:59 +01:00
select.cpp Kernel: Get rid of Unix namespace. 2019-01-23 06:57:00 +01:00
select.h Oops, forgot to add the select() files to LibC a while ago. 2019-01-17 01:41:13 +01:00
stat.h Finally hook up the mkdir code to a syscall. 2018-11-18 15:02:16 +01:00
sysmacros.h Various stubs while trying to get an old coreutils to build. 2018-11-17 15:56:09 +01:00
time.h Tiny LibC things. 2018-11-05 14:54:11 +01:00
times.h Lots of minor compat stuff while seeing if bash would build. 2018-11-05 16:40:48 +01:00
types.h Implement basic chmod() syscall and /bin/chmod helper. 2019-01-29 04:55:08 +01:00
utsname.h Move <utsname.h> to <sys/utsname.h> for correctness. 2018-11-09 10:24:41 +01:00
wait.h Tiny LibC things. 2018-11-05 14:54:11 +01:00