Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
43350172
Commit
43350172
authored
Apr 07, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Automerge
parents
5062d6c9
5b1e894e
Changes
18
Show whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
139 additions
and
8 deletions
+139
-8
include/asm-alpha/unistd.h
include/asm-alpha/unistd.h
+8
-0
include/asm-arm/unistd.h
include/asm-arm/unistd.h
+9
-0
include/asm-cris/unistd.h
include/asm-cris/unistd.h
+8
-0
include/asm-i386/unistd.h
include/asm-i386/unistd.h
+8
-0
include/asm-ia64/unistd.h
include/asm-ia64/unistd.h
+9
-0
include/asm-m68k/unistd.h
include/asm-m68k/unistd.h
+8
-0
include/asm-mips/unistd.h
include/asm-mips/unistd.h
+8
-0
include/asm-mips64/unistd.h
include/asm-mips64/unistd.h
+8
-0
include/asm-parisc/unistd.h
include/asm-parisc/unistd.h
+8
-0
include/asm-ppc/unistd.h
include/asm-ppc/unistd.h
+8
-0
include/asm-ppc64/unistd.h
include/asm-ppc64/unistd.h
+8
-0
include/asm-s390/unistd.h
include/asm-s390/unistd.h
+8
-0
include/asm-s390x/unistd.h
include/asm-s390x/unistd.h
+8
-0
include/asm-sh/unistd.h
include/asm-sh/unistd.h
+8
-0
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+8
-0
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+8
-0
include/asm-x86_64/unistd.h
include/asm-x86_64/unistd.h
+8
-0
kernel/sys.c
kernel/sys.c
+1
-8
No files found.
include/asm-alpha/unistd.h
View file @
43350172
...
...
@@ -597,4 +597,12 @@ static inline long delete_module(const char *name)
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ALPHA_UNISTD_H */
include/asm-arm/unistd.h
View file @
43350172
...
...
@@ -466,4 +466,13 @@ static inline pid_t wait(int * wait_stat)
static
inline
_syscall3
(
int
,
execve
,
const
char
*
,
file
,
char
**
,
argv
,
char
**
,
envp
);
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* __ASM_ARM_UNISTD_H */
include/asm-cris/unistd.h
View file @
43350172
...
...
@@ -395,4 +395,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_CRIS_UNISTD_H_ */
include/asm-i386/unistd.h
View file @
43350172
...
...
@@ -371,4 +371,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_I386_UNISTD_H_ */
include/asm-ia64/unistd.h
View file @
43350172
...
...
@@ -325,5 +325,14 @@ wait (int * wait_stat)
}
#endif
/* __KERNEL_SYSCALLS__ */
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* !__ASSEMBLY__ */
#endif
/* _ASM_IA64_UNISTD_H */
include/asm-m68k/unistd.h
View file @
43350172
...
...
@@ -357,4 +357,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_M68K_UNISTD_H_ */
include/asm-mips/unistd.h
View file @
43350172
...
...
@@ -488,4 +488,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/* !defined (__KERNEL_SYSCALLS__) */
#endif
/* !defined (_LANGUAGE_ASSEMBLY) */
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_UNISTD_H */
include/asm-mips64/unistd.h
View file @
43350172
...
...
@@ -814,4 +814,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/* !defined (__KERNEL_SYSCALLS__) */
#endif
/* !defined (_LANGUAGE_ASSEMBLY) */
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_UNISTD_H */
include/asm-parisc/unistd.h
View file @
43350172
...
...
@@ -900,4 +900,12 @@ static inline int execve(char *filename, char * argv [],
#undef STR
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_PARISC_UNISTD_H_ */
include/asm-ppc/unistd.h
View file @
43350172
...
...
@@ -437,4 +437,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/* __KERNEL_SYSCALLS__ */
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_PPC_UNISTD_H_ */
include/asm-ppc64/unistd.h
View file @
43350172
...
...
@@ -444,4 +444,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/* __KERNEL_SYSCALLS__ */
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",sys_ni_syscall");
#endif
/* _ASM_PPC_UNISTD_H_ */
include/asm-s390/unistd.h
View file @
43350172
...
...
@@ -375,4 +375,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_S390_UNISTD_H_ */
include/asm-s390x/unistd.h
View file @
43350172
...
...
@@ -345,4 +345,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _ASM_S390_UNISTD_H_ */
include/asm-sh/unistd.h
View file @
43350172
...
...
@@ -367,4 +367,12 @@ static __inline__ pid_t wait(int * wait_stat)
}
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* __ASM_SH_UNISTD_H */
include/asm-sparc/unistd.h
View file @
43350172
...
...
@@ -437,4 +437,12 @@ static __inline__ pid_t wait(int * wait_stat)
#endif
/* __KERNEL_SYSCALLS__ */
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _SPARC_UNISTD_H */
include/asm-sparc64/unistd.h
View file @
43350172
...
...
@@ -439,4 +439,12 @@ static __inline__ pid_t wait(int * wait_stat)
#define _SC_VERSION 8
#endif
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
/* _SPARC64_UNISTD_H */
include/asm-x86_64/unistd.h
View file @
43350172
...
...
@@ -650,4 +650,12 @@ static inline pid_t wait(int * wait_stat)
#endif
/* __NO_STUBS */
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
#endif
kernel/sys.c
View file @
43350172
...
...
@@ -19,6 +19,7 @@
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/unistd.h>
/*
* this is where the system-wide overflow UID and GID are defined, for
...
...
@@ -174,14 +175,6 @@ asmlinkage long sys_ni_syscall(void)
return
-
ENOSYS
;
}
/*
* "Conditional" syscalls
*
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on sparc64, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall");
cond_syscall
(
sys_nfsservctl
)
cond_syscall
(
sys_quotactl
)
cond_syscall
(
sys_acct
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment