History

[PATCH] Fix compile for CONFIG_SYSVIPC=n or CONFIG_SYSCTL=n

The compat syscalls are added to sys_ni.c since they are not defined if the above CONFIG options are off. Also, nfs would not build with CONFIG_SYSCTL off. Noticed by Arthur Othieno.

Stephen Rothwell committed 20 years ago

Commit 7fd105e1 parent 7a9166e2 files · +3 −1Browse files

Showing the changes to kernel (1 of 2 files). Show all

Unified · Split

kernel/sys_ni.c+2−0
@@ -104,6 +104,8 @@ cond_syscall(sys_setreuid16); · 103 unmodified lines
104104 cond_syscall(sys_setuid16);
105105 cond_syscall(sys_vm86old);
106106 cond_syscall(sys_vm86);
107+cond_syscall(compat_sys_ipc);
108+cond_syscall(compat_sys_sysctl);
107109
108110 /* arch-specific weak syscall entries */
109111 cond_syscall(sys_pciconfig_read);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t