aboutsummaryrefslogtreecommitdiff
path: root/selinux
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-27 02:52:20 +0000
commitdefc1ea34074e7882724c460260d307cdf981a70 (patch)
treefca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /selinux
parent26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff)
downloadbusybox-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 'selinux')
-rw-r--r--selinux/chcon.c2
-rw-r--r--selinux/setfiles.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/selinux/chcon.c b/selinux/chcon.c
index 288e93ad3..505ae4f32 100644
--- a/selinux/chcon.c
+++ b/selinux/chcon.c
@@ -28,7 +28,7 @@ static char *type = NULL;
28static char *range = NULL; 28static char *range = NULL;
29static char *specified_context = NULL; 29static char *specified_context = NULL;
30 30
31static int change_filedir_context( 31static int FAST_FUNC change_filedir_context(
32 const char *fname, 32 const char *fname,
33 struct stat *stbuf ATTRIBUTE_UNUSED, 33 struct stat *stbuf ATTRIBUTE_UNUSED,
34 void *userData ATTRIBUTE_UNUSED, 34 void *userData ATTRIBUTE_UNUSED,
diff --git a/selinux/setfiles.c b/selinux/setfiles.c
index 82e9e5348..991c13cd7 100644
--- a/selinux/setfiles.c
+++ b/selinux/setfiles.c
@@ -391,7 +391,7 @@ static int restore(const char *file)
391 * This function is called by recursive_action on each file during 391 * This function is called by recursive_action on each file during
392 * the directory traversal. 392 * the directory traversal.
393 */ 393 */
394static int apply_spec( 394static int FAST_FUNC apply_spec(
395 const char *file, 395 const char *file,
396 struct stat *sb, 396 struct stat *sb,
397 void *userData ATTRIBUTE_UNUSED, 397 void *userData ATTRIBUTE_UNUSED,