diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
commit | defc1ea34074e7882724c460260d307cdf981a70 (patch) | |
tree | fca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /libbb/selinux_common.c | |
parent | 26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff) | |
download | busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2 busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip |
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'libbb/selinux_common.c')
-rw-r--r-- | libbb/selinux_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/selinux_common.c b/libbb/selinux_common.c index 7478cc7b5..5fdbe9d58 100644 --- a/libbb/selinux_common.c +++ b/libbb/selinux_common.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include "libbb.h" | 7 | #include "libbb.h" |
8 | #include <selinux/context.h> | 8 | #include <selinux/context.h> |
9 | 9 | ||
10 | context_t set_security_context_component(security_context_t cur_context, | 10 | context_t FAST_FUNC set_security_context_component(security_context_t cur_context, |
11 | char *user, char *role, char *type, char *range) | 11 | char *user, char *role, char *type, char *range) |
12 | { | 12 | { |
13 | context_t con = context_new(cur_context); | 13 | context_t con = context_new(cur_context); |
@@ -29,7 +29,7 @@ error: | |||
29 | return NULL; | 29 | return NULL; |
30 | } | 30 | } |
31 | 31 | ||
32 | void setfscreatecon_or_die(security_context_t scontext) | 32 | void FAST_FUNC setfscreatecon_or_die(security_context_t scontext) |
33 | { | 33 | { |
34 | if (setfscreatecon(scontext) < 0) { | 34 | if (setfscreatecon(scontext) < 0) { |
35 | /* Can be NULL. All known printf implementations | 35 | /* Can be NULL. All known printf implementations |
@@ -39,7 +39,7 @@ void setfscreatecon_or_die(security_context_t scontext) | |||
39 | } | 39 | } |
40 | } | 40 | } |
41 | 41 | ||
42 | void selinux_preserve_fcontext(int fdesc) | 42 | void FAST_FUNC selinux_preserve_fcontext(int fdesc) |
43 | { | 43 | { |
44 | security_context_t context; | 44 | security_context_t context; |
45 | 45 | ||