diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/include/namespace.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libc/include/namespace.h b/src/lib/libc/include/namespace.h index 569668d0ac..16d524f666 100644 --- a/src/lib/libc/include/namespace.h +++ b/src/lib/libc/include/namespace.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: namespace.h,v 1.8 2015/10/23 04:39:24 guenther Exp $ */ | 1 | /* $OpenBSD: namespace.h,v 1.9 2016/04/05 04:28:32 guenther Exp $ */ |
2 | 2 | ||
3 | #ifndef _LIBC_NAMESPACE_H_ | 3 | #ifndef _LIBC_NAMESPACE_H_ |
4 | #define _LIBC_NAMESPACE_H_ | 4 | #define _LIBC_NAMESPACE_H_ |
@@ -41,14 +41,14 @@ | |||
41 | * | 41 | * |
42 | * Some other calls need to be wrapped for reasons other than cancellation, | 42 | * Some other calls need to be wrapped for reasons other than cancellation, |
43 | * such as to provide functionality beyond the underlying syscall (e.g., | 43 | * such as to provide functionality beyond the underlying syscall (e.g., |
44 | * setlogin). For these, there are identifiers for the raw call, without | 44 | * sigaction). For these, there are identifiers for the raw call, without |
45 | * the wrapping: | 45 | * the wrapping: |
46 | * _libc_setlogin hidden alias, for use internal to libc only | 46 | * _libc_sigaction hidden alias, for use internal to libc only |
47 | * _thread_sys_setlogin global name, for use outside libc only | 47 | * _thread_sys_sigaction global name, for use outside libc only |
48 | * ...and identifiers that do provide the libc wrapping: | 48 | * ...and identifiers that do provide the libc wrapping: |
49 | * setlogin weak alias, for general use | 49 | * sigaction weak alias, for general use |
50 | * _libc_setlogin_wrap hidden alias, for use internal to libc only | 50 | * _libc_sigaction_wrap hidden alias, for use internal to libc only |
51 | * Inside libc, the bare name ("setlogin") binds to the wrapper; when the | 51 | * Inside libc, the bare name ("sigaction") binds to the wrapper; when the |
52 | * raw version is necessary it can be obtained by calling HIDDEN(x) instead of | 52 | * raw version is necessary it can be obtained by calling HIDDEN(x) instead of |
53 | * just x. | 53 | * just x. |
54 | * | 54 | * |
@@ -118,7 +118,7 @@ | |||
118 | * DEF_WRAP(x) | 118 | * DEF_WRAP(x) |
119 | * This defines x as a weak alias for _libc_x_wrap. | 119 | * This defines x as a weak alias for _libc_x_wrap. |
120 | * Matches with PROTO_WRAP() | 120 | * Matches with PROTO_WRAP() |
121 | * ex: DEF_WRAP(setlogin) | 121 | * ex: DEF_WRAP(sigaction) |
122 | * | 122 | * |
123 | * DEF_SYS(x) | 123 | * DEF_SYS(x) |
124 | * This defines _thread_sys_x as a strong alias for _libc_x. This should | 124 | * This defines _thread_sys_x as a strong alias for _libc_x. This should |