aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 19:53:10 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2022-02-06 19:53:10 +0100
commitca466f385ac985a8b3491daa9f326dc480cdee70 (patch)
tree2d0635c1a295f02e354d9a6b94c70d1d3d64ddb0 /util-linux
parent4f40735c87f8292a87c066b3b7099b0be007cf59 (diff)
downloadbusybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.gz
busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.tar.bz2
busybox-w32-ca466f385ac985a8b3491daa9f326dc480cdee70.zip
*: slap on a few ALIGN* where appropriate
The result of looking at "grep -F -B2 '*fill*' busybox_unstripped.map" function old new delta .rodata 108586 108460 -126 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-126) Total: -126 bytes text data bss dec hex filename 970412 4219 1848 976479 ee65f busybox_old 970286 4219 1848 976353 ee5e1 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/hexdump.c2
-rw-r--r--util-linux/nsenter.c2
-rw-r--r--util-linux/unshare.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/hexdump.c b/util-linux/hexdump.c
index 57e7e8db7..307a84803 100644
--- a/util-linux/hexdump.c
+++ b/util-linux/hexdump.c
@@ -71,7 +71,7 @@ static void bb_dump_addfile(dumper_t *dumper, char *name)
71 fclose(fp); 71 fclose(fp);
72} 72}
73 73
74static const char *const add_strings[] = { 74static const char *const add_strings[] ALIGN_PTR = {
75 "\"%07.7_ax \"16/1 \"%03o \"\"\n\"", /* b */ 75 "\"%07.7_ax \"16/1 \"%03o \"\"\n\"", /* b */
76 "\"%07.7_ax \"16/1 \"%3_c \"\"\n\"", /* c */ 76 "\"%07.7_ax \"16/1 \"%3_c \"\"\n\"", /* c */
77 "\"%07.7_ax \"8/2 \" %05u \"\"\n\"", /* d */ 77 "\"%07.7_ax \"8/2 \" %05u \"\"\n\"", /* d */
diff --git a/util-linux/nsenter.c b/util-linux/nsenter.c
index e6339da2f..1aa045b35 100644
--- a/util-linux/nsenter.c
+++ b/util-linux/nsenter.c
@@ -93,7 +93,7 @@ enum {
93 * The user namespace comes first, so that it is entered first. 93 * The user namespace comes first, so that it is entered first.
94 * This gives an unprivileged user the potential to enter other namespaces. 94 * This gives an unprivileged user the potential to enter other namespaces.
95 */ 95 */
96static const struct namespace_descr ns_list[] = { 96static const struct namespace_descr ns_list[] ALIGN_INT = {
97 { CLONE_NEWUSER, "ns/user", }, 97 { CLONE_NEWUSER, "ns/user", },
98 { CLONE_NEWIPC, "ns/ipc", }, 98 { CLONE_NEWIPC, "ns/ipc", },
99 { CLONE_NEWUTS, "ns/uts", }, 99 { CLONE_NEWUTS, "ns/uts", },
diff --git a/util-linux/unshare.c b/util-linux/unshare.c
index 68ccdd874..06b938074 100644
--- a/util-linux/unshare.c
+++ b/util-linux/unshare.c
@@ -120,7 +120,7 @@ enum {
120 NS_USR_POS, /* OPT_user, NS_USR_POS, and ns_list[] index must match! */ 120 NS_USR_POS, /* OPT_user, NS_USR_POS, and ns_list[] index must match! */
121 NS_COUNT, 121 NS_COUNT,
122}; 122};
123static const struct namespace_descr ns_list[] = { 123static const struct namespace_descr ns_list[] ALIGN_INT = {
124 { CLONE_NEWNS, "mnt" }, 124 { CLONE_NEWNS, "mnt" },
125 { CLONE_NEWUTS, "uts" }, 125 { CLONE_NEWUTS, "uts" },
126 { CLONE_NEWIPC, "ipc" }, 126 { CLONE_NEWIPC, "ipc" },