Add PROTO_NORMAL() declarations for the remaining syscalls, to avoid
authorguenther <guenther@openbsd.org>
Thu, 18 May 2023 16:11:09 +0000 (16:11 +0000)
committerguenther <guenther@openbsd.org>
Thu, 18 May 2023 16:11:09 +0000 (16:11 +0000)
commit170ca6cd9aafa3cdc31a31ea372066cfe462e34a
treeb0c2bc9631ed79e4973ee34695d653fa21ec154f
parent4f585c7eec19db6651ad22016024ecf9f5410251
Add PROTO_NORMAL() declarations for the remaining syscalls, to avoid
future, inadvertant PLT entries.  Move the __getcwd and __realpath
declarations to hidden/{stdlib,unistd}.h to consolidate and remove
duplication.

ok tb@ otto@ deraadt@
lib/libc/compat-43/getwd.c
lib/libc/gen/getcwd.c
lib/libc/hidden/stdlib.h
lib/libc/hidden/sys/event.h [new file with mode: 0644]
lib/libc/hidden/sys/shm.h [new file with mode: 0644]
lib/libc/hidden/sys/stat.h
lib/libc/hidden/unistd.h
lib/libc/stdlib/realpath.c