mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:47:45 +00:00
Kernel+LibC: Implement sigaltstack()
This is required for compiling wine for serenity
This commit is contained in:
parent
d5d0eb45bf
commit
f415218afe
9 changed files with 229 additions and 2 deletions
|
@ -335,6 +335,7 @@ public:
|
|||
ErrorOr<FlatPtr> sys$execve(Userspace<const Syscall::SC_execve_params*>);
|
||||
ErrorOr<FlatPtr> sys$dup2(int old_fd, int new_fd);
|
||||
ErrorOr<FlatPtr> sys$sigaction(int signum, Userspace<const sigaction*> act, Userspace<sigaction*> old_act);
|
||||
ErrorOr<FlatPtr> sys$sigaltstack(Userspace<const stack_t*> ss, Userspace<stack_t*> old_ss);
|
||||
ErrorOr<FlatPtr> sys$sigprocmask(int how, Userspace<const sigset_t*> set, Userspace<sigset_t*> old_set);
|
||||
ErrorOr<FlatPtr> sys$sigpending(Userspace<sigset_t*>);
|
||||
ErrorOr<FlatPtr> sys$getgroups(size_t, Userspace<gid_t*>);
|
||||
|
@ -556,6 +557,8 @@ private:
|
|||
|
||||
void setup_socket_fd(int fd, NonnullRefPtr<OpenFileDescription> description, int type);
|
||||
|
||||
ErrorOr<void> remap_range_as_stack(FlatPtr address, size_t size);
|
||||
|
||||
public:
|
||||
NonnullRefPtr<ProcessProcFSTraits> procfs_traits() const { return *m_procfs_traits; }
|
||||
ErrorOr<void> procfs_get_fds_stats(KBufferBuilder& builder) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue