*: add comment about APPLET_ODDNAME format
It confused me more than once Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
b4b12bf234
commit
205d48e948
@ -314,6 +314,7 @@ int uncompress_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: depends on (GUNZIP || ZCAT) && LONG_OPTS
|
//config: depends on (GUNZIP || ZCAT) && LONG_OPTS
|
||||||
|
|
||||||
//applet:IF_GUNZIP(APPLET(gunzip, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_GUNZIP(APPLET(gunzip, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_ZCAT(APPLET_ODDNAME(zcat, gunzip, BB_DIR_BIN, BB_SUID_DROP, zcat))
|
//applet:IF_ZCAT(APPLET_ODDNAME(zcat, gunzip, BB_DIR_BIN, BB_SUID_DROP, zcat))
|
||||||
#if ENABLE_FEATURE_GZIP_DECOMPRESS
|
#if ENABLE_FEATURE_GZIP_DECOMPRESS
|
||||||
static
|
static
|
||||||
@ -425,6 +426,7 @@ int gunzip_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: Alias to "bunzip2 -c".
|
//config: Alias to "bunzip2 -c".
|
||||||
|
|
||||||
//applet:IF_BUNZIP2(APPLET(bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_BUNZIP2(APPLET(bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_BZCAT(APPLET_ODDNAME(bzcat, bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP, bzcat))
|
//applet:IF_BZCAT(APPLET_ODDNAME(bzcat, bunzip2, BB_DIR_USR_BIN, BB_SUID_DROP, bzcat))
|
||||||
#if ENABLE_FEATURE_BZIP2_DECOMPRESS
|
#if ENABLE_FEATURE_BZIP2_DECOMPRESS
|
||||||
int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
int bunzip2_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||||
@ -467,26 +469,6 @@ int bunzip2_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//usage: "[FILE]..."
|
//usage: "[FILE]..."
|
||||||
//usage:#define lzcat_full_usage "\n\n"
|
//usage:#define lzcat_full_usage "\n\n"
|
||||||
//usage: "Decompress to stdout"
|
//usage: "Decompress to stdout"
|
||||||
//usage:
|
|
||||||
//usage:#define unxz_trivial_usage
|
|
||||||
//usage: "[-cf] [FILE]..."
|
|
||||||
//usage:#define unxz_full_usage "\n\n"
|
|
||||||
//usage: "Decompress FILE (or stdin)\n"
|
|
||||||
//usage: "\n -c Write to stdout"
|
|
||||||
//usage: "\n -f Force"
|
|
||||||
//usage:
|
|
||||||
//usage:#define xz_trivial_usage
|
|
||||||
//usage: "-d [-cf] [FILE]..."
|
|
||||||
//usage:#define xz_full_usage "\n\n"
|
|
||||||
//usage: "Decompress FILE (or stdin)\n"
|
|
||||||
//usage: "\n -d Decompress"
|
|
||||||
//usage: "\n -c Write to stdout"
|
|
||||||
//usage: "\n -f Force"
|
|
||||||
//usage:
|
|
||||||
//usage:#define xzcat_trivial_usage
|
|
||||||
//usage: "[FILE]..."
|
|
||||||
//usage:#define xzcat_full_usage "\n\n"
|
|
||||||
//usage: "Decompress to stdout"
|
|
||||||
|
|
||||||
//config:config UNLZMA
|
//config:config UNLZMA
|
||||||
//config: bool "unlzma"
|
//config: bool "unlzma"
|
||||||
@ -528,8 +510,9 @@ int bunzip2_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: a 1K bigger binary.
|
//config: a 1K bigger binary.
|
||||||
|
|
||||||
//applet:IF_UNLZMA(APPLET(unlzma, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_UNLZMA(APPLET(unlzma, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_LZCAT(APPLET_ODDNAME(lzcat, unlzma, BB_DIR_USR_BIN, BB_SUID_DROP, lzcat))
|
//applet:IF_LZCAT(APPLET_ODDNAME(lzcat, unlzma, BB_DIR_USR_BIN, BB_SUID_DROP, lzcat))
|
||||||
//applet:IF_LZMA(APPLET_ODDNAME(lzma, unlzma, BB_DIR_USR_BIN, BB_SUID_DROP, lzma))
|
//applet:IF_LZMA( APPLET_ODDNAME(lzma, unlzma, BB_DIR_USR_BIN, BB_SUID_DROP, lzma))
|
||||||
//kbuild:lib-$(CONFIG_UNLZMA) += bbunzip.o
|
//kbuild:lib-$(CONFIG_UNLZMA) += bbunzip.o
|
||||||
//kbuild:lib-$(CONFIG_LZCAT) += bbunzip.o
|
//kbuild:lib-$(CONFIG_LZCAT) += bbunzip.o
|
||||||
//kbuild:lib-$(CONFIG_LZMA) += bbunzip.o
|
//kbuild:lib-$(CONFIG_LZMA) += bbunzip.o
|
||||||
@ -553,6 +536,26 @@ int unlzma_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
//usage:#define unxz_trivial_usage
|
||||||
|
//usage: "[-cf] [FILE]..."
|
||||||
|
//usage:#define unxz_full_usage "\n\n"
|
||||||
|
//usage: "Decompress FILE (or stdin)\n"
|
||||||
|
//usage: "\n -c Write to stdout"
|
||||||
|
//usage: "\n -f Force"
|
||||||
|
//usage:
|
||||||
|
//usage:#define xz_trivial_usage
|
||||||
|
//usage: "-d [-cf] [FILE]..."
|
||||||
|
//usage:#define xz_full_usage "\n\n"
|
||||||
|
//usage: "Decompress FILE (or stdin)\n"
|
||||||
|
//usage: "\n -d Decompress"
|
||||||
|
//usage: "\n -c Write to stdout"
|
||||||
|
//usage: "\n -f Force"
|
||||||
|
//usage:
|
||||||
|
//usage:#define xzcat_trivial_usage
|
||||||
|
//usage: "[FILE]..."
|
||||||
|
//usage:#define xzcat_full_usage "\n\n"
|
||||||
|
//usage: "Decompress to stdout"
|
||||||
|
|
||||||
//config:config UNXZ
|
//config:config UNXZ
|
||||||
//config: bool "unxz"
|
//config: bool "unxz"
|
||||||
//config: default y
|
//config: default y
|
||||||
@ -573,8 +576,9 @@ int unlzma_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
//config: IOW: you'll get xz applet, but it will always require -d option.
|
//config: IOW: you'll get xz applet, but it will always require -d option.
|
||||||
|
|
||||||
//applet:IF_UNXZ(APPLET(unxz, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_UNXZ(APPLET(unxz, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_XZCAT(APPLET_ODDNAME(xzcat, unxz, BB_DIR_USR_BIN, BB_SUID_DROP, xzcat))
|
//applet:IF_XZCAT(APPLET_ODDNAME(xzcat, unxz, BB_DIR_USR_BIN, BB_SUID_DROP, xzcat))
|
||||||
//applet:IF_XZ(APPLET_ODDNAME(xz, unxz, BB_DIR_USR_BIN, BB_SUID_DROP, xz))
|
//applet:IF_XZ( APPLET_ODDNAME(xz, unxz, BB_DIR_USR_BIN, BB_SUID_DROP, xz))
|
||||||
//kbuild:lib-$(CONFIG_UNXZ) += bbunzip.o
|
//kbuild:lib-$(CONFIG_UNXZ) += bbunzip.o
|
||||||
//kbuild:lib-$(CONFIG_XZCAT) += bbunzip.o
|
//kbuild:lib-$(CONFIG_XZCAT) += bbunzip.o
|
||||||
//kbuild:lib-$(CONFIG_XZ) += bbunzip.o
|
//kbuild:lib-$(CONFIG_XZ) += bbunzip.o
|
||||||
|
@ -53,7 +53,8 @@
|
|||||||
//config: and take up 3.2K of code.
|
//config: and take up 3.2K of code.
|
||||||
|
|
||||||
//applet:IF_LZOP(APPLET(lzop, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_LZOP(APPLET(lzop, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//applet:IF_UNLZOP(APPLET_ODDNAME(unlzop, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, unlzop))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_UNLZOP( APPLET_ODDNAME(unlzop, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, unlzop))
|
||||||
//applet:IF_LZOPCAT(APPLET_ODDNAME(lzopcat, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, lzopcat))
|
//applet:IF_LZOPCAT(APPLET_ODDNAME(lzopcat, lzop, BB_DIR_USR_BIN, BB_SUID_DROP, lzopcat))
|
||||||
//kbuild:lib-$(CONFIG_LZOP) += lzop.o
|
//kbuild:lib-$(CONFIG_LZOP) += lzop.o
|
||||||
//kbuild:lib-$(CONFIG_UNLZOP) += lzop.o
|
//kbuild:lib-$(CONFIG_UNLZOP) += lzop.o
|
||||||
|
@ -43,6 +43,7 @@
|
|||||||
//config: depends on UNEXPAND && LONG_OPTS
|
//config: depends on UNEXPAND && LONG_OPTS
|
||||||
|
|
||||||
//applet:IF_EXPAND(APPLET(expand, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_EXPAND(APPLET(expand, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, BB_DIR_USR_BIN, BB_SUID_DROP, unexpand))
|
//applet:IF_UNEXPAND(APPLET_ODDNAME(unexpand, expand, BB_DIR_USR_BIN, BB_SUID_DROP, unexpand))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_EXPAND) += expand.o
|
//kbuild:lib-$(CONFIG_EXPAND) += expand.o
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: Print users currently logged on.
|
//config: Print users currently logged on.
|
||||||
|
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users))
|
//applet:IF_USERS(APPLET_ODDNAME(users, who, BB_DIR_USR_BIN, BB_SUID_DROP, users))
|
||||||
//applet:IF_WHO(APPLET(who, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_WHO(APPLET(who, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
//config: Print the specified number of context lines (-C).
|
//config: Print the specified number of context lines (-C).
|
||||||
|
|
||||||
//applet:IF_GREP(APPLET(grep, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_GREP(APPLET(grep, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_EGREP(APPLET_ODDNAME(egrep, grep, BB_DIR_BIN, BB_SUID_DROP, egrep))
|
//applet:IF_EGREP(APPLET_ODDNAME(egrep, grep, BB_DIR_BIN, BB_SUID_DROP, egrep))
|
||||||
//applet:IF_FGREP(APPLET_ODDNAME(fgrep, grep, BB_DIR_BIN, BB_SUID_DROP, fgrep))
|
//applet:IF_FGREP(APPLET_ODDNAME(fgrep, grep, BB_DIR_BIN, BB_SUID_DROP, fgrep))
|
||||||
|
|
||||||
|
@ -46,8 +46,9 @@
|
|||||||
//config: locating telinit executable.
|
//config: locating telinit executable.
|
||||||
|
|
||||||
//applet:IF_HALT(APPLET(halt, BB_DIR_SBIN, BB_SUID_DROP))
|
//applet:IF_HALT(APPLET(halt, BB_DIR_SBIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_POWEROFF(APPLET_ODDNAME(poweroff, halt, BB_DIR_SBIN, BB_SUID_DROP, poweroff))
|
//applet:IF_POWEROFF(APPLET_ODDNAME(poweroff, halt, BB_DIR_SBIN, BB_SUID_DROP, poweroff))
|
||||||
//applet:IF_REBOOT(APPLET_ODDNAME(reboot, halt, BB_DIR_SBIN, BB_SUID_DROP, reboot))
|
//applet:IF_REBOOT( APPLET_ODDNAME(reboot, halt, BB_DIR_SBIN, BB_SUID_DROP, reboot))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_HALT) += halt.o
|
//kbuild:lib-$(CONFIG_HALT) += halt.o
|
||||||
//kbuild:lib-$(CONFIG_POWEROFF) += halt.o
|
//kbuild:lib-$(CONFIG_POWEROFF) += halt.o
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: Remove shells from /etc/shells.
|
//config: Remove shells from /etc/shells.
|
||||||
|
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_ADD_SHELL( APPLET_ODDNAME(add-shell , add_remove_shell, BB_DIR_USR_SBIN, BB_SUID_DROP, add_shell ))
|
//applet:IF_ADD_SHELL( APPLET_ODDNAME(add-shell , add_remove_shell, BB_DIR_USR_SBIN, BB_SUID_DROP, add_shell ))
|
||||||
//applet:IF_REMOVE_SHELL(APPLET_ODDNAME(remove-shell, add_remove_shell, BB_DIR_USR_SBIN, BB_SUID_DROP, remove_shell))
|
//applet:IF_REMOVE_SHELL(APPLET_ODDNAME(remove-shell, add_remove_shell, BB_DIR_USR_SBIN, BB_SUID_DROP, remove_shell))
|
||||||
|
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
//config: The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
|
//config: The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This
|
||||||
//config: utility unlocks part or all of the flash device.
|
//config: utility unlocks part or all of the flash device.
|
||||||
|
|
||||||
//applet:IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_lock))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_FLASH_LOCK( APPLET_ODDNAME(flash_lock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_lock))
|
||||||
//applet:IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_unlock))
|
//applet:IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_unlock))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_FLASH_LOCK) += flash_lock_unlock.o
|
//kbuild:lib-$(CONFIG_FLASH_LOCK) += flash_lock_unlock.o
|
||||||
|
@ -45,11 +45,12 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: Update a UBI volume.
|
//config: Update a UBI volume.
|
||||||
|
|
||||||
//applet:IF_UBIATTACH(APPLET_ODDNAME(ubiattach, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubiattach))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_UBIDETACH(APPLET_ODDNAME(ubidetach, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubidetach))
|
//applet:IF_UBIATTACH( APPLET_ODDNAME(ubiattach, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubiattach))
|
||||||
//applet:IF_UBIMKVOL(APPLET_ODDNAME(ubimkvol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubimkvol))
|
//applet:IF_UBIDETACH( APPLET_ODDNAME(ubidetach, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubidetach))
|
||||||
//applet:IF_UBIRMVOL(APPLET_ODDNAME(ubirmvol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubirmvol))
|
//applet:IF_UBIMKVOL( APPLET_ODDNAME(ubimkvol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubimkvol))
|
||||||
//applet:IF_UBIRSVOL(APPLET_ODDNAME(ubirsvol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubirsvol))
|
//applet:IF_UBIRMVOL( APPLET_ODDNAME(ubirmvol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubirmvol))
|
||||||
|
//applet:IF_UBIRSVOL( APPLET_ODDNAME(ubirsvol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubirsvol))
|
||||||
//applet:IF_UBIUPDATEVOL(APPLET_ODDNAME(ubiupdatevol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubiupdatevol))
|
//applet:IF_UBIUPDATEVOL(APPLET_ODDNAME(ubiupdatevol, ubi_tools, BB_DIR_USR_SBIN, BB_SUID_DROP, ubiupdatevol))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_UBIATTACH) += ubi_tools.o
|
//kbuild:lib-$(CONFIG_UBIATTACH) += ubi_tools.o
|
||||||
|
@ -25,10 +25,11 @@
|
|||||||
//config: Check if the module is already loaded.
|
//config: Check if the module is already loaded.
|
||||||
|
|
||||||
//applet:IF_MODPROBE(IF_MODPROBE_SMALL(APPLET(modprobe, BB_DIR_SBIN, BB_SUID_DROP)))
|
//applet:IF_MODPROBE(IF_MODPROBE_SMALL(APPLET(modprobe, BB_DIR_SBIN, BB_SUID_DROP)))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_DEPMOD(IF_MODPROBE_SMALL(APPLET_ODDNAME(depmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, depmod)))
|
//applet:IF_DEPMOD(IF_MODPROBE_SMALL(APPLET_ODDNAME(depmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, depmod)))
|
||||||
//applet:IF_INSMOD(IF_MODPROBE_SMALL(APPLET_ODDNAME(insmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, insmod)))
|
//applet:IF_INSMOD(IF_MODPROBE_SMALL(APPLET_ODDNAME(insmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, insmod)))
|
||||||
//applet:IF_LSMOD(IF_MODPROBE_SMALL(APPLET_ODDNAME(lsmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, lsmod)))
|
//applet:IF_LSMOD(IF_MODPROBE_SMALL( APPLET_ODDNAME(lsmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, lsmod)))
|
||||||
//applet:IF_RMMOD(IF_MODPROBE_SMALL(APPLET_ODDNAME(rmmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, rmmod)))
|
//applet:IF_RMMOD(IF_MODPROBE_SMALL( APPLET_ODDNAME(rmmod, modprobe, BB_DIR_SBIN, BB_SUID_DROP, rmmod)))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_MODPROBE_SMALL) += modprobe-small.o
|
//kbuild:lib-$(CONFIG_MODPROBE_SMALL) += modprobe-small.o
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "hostname -d".
|
//config: Alias to "hostname -d".
|
||||||
|
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_DNSDOMAINNAME(APPLET_ODDNAME(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname))
|
//applet:IF_DNSDOMAINNAME(APPLET_ODDNAME(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname))
|
||||||
//applet:IF_HOSTNAME(APPLET(hostname, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_HOSTNAME(APPLET(hostname, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -106,7 +106,8 @@
|
|||||||
//config: Otherwise, if udhcpc applet is enabled, it is used.
|
//config: Otherwise, if udhcpc applet is enabled, it is used.
|
||||||
//config: Otherwise, ifup/ifdown will have no support for DHCP.
|
//config: Otherwise, ifup/ifdown will have no support for DHCP.
|
||||||
|
|
||||||
//applet:IF_IFUP(APPLET_ODDNAME(ifup, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifup))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_IFUP( APPLET_ODDNAME(ifup, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifup))
|
||||||
//applet:IF_IFDOWN(APPLET_ODDNAME(ifdown, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifdown))
|
//applet:IF_IFDOWN(APPLET_ODDNAME(ifdown, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifdown))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_IFUP) += ifupdown.o
|
//kbuild:lib-$(CONFIG_IFUP) += ifupdown.o
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: lpq is a print spool queue examination and manipulation program.
|
//config: lpq is a print spool queue examination and manipulation program.
|
||||||
|
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_LPQ(APPLET_ODDNAME(lpq, lpqr, BB_DIR_USR_BIN, BB_SUID_DROP, lpq))
|
//applet:IF_LPQ(APPLET_ODDNAME(lpq, lpqr, BB_DIR_USR_BIN, BB_SUID_DROP, lpq))
|
||||||
//applet:IF_LPR(APPLET_ODDNAME(lpr, lpqr, BB_DIR_USR_BIN, BB_SUID_DROP, lpr))
|
//applet:IF_LPR(APPLET_ODDNAME(lpr, lpqr, BB_DIR_USR_BIN, BB_SUID_DROP, lpr))
|
||||||
|
|
||||||
|
@ -33,7 +33,8 @@
|
|||||||
//config: the script it was called from.
|
//config: the script it was called from.
|
||||||
|
|
||||||
//applet:IF_KILL(APPLET(kill, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_KILL(APPLET(kill, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//applet:IF_KILLALL(APPLET_ODDNAME(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_KILLALL( APPLET_ODDNAME(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall))
|
||||||
//applet:IF_KILLALL5(APPLET_ODDNAME(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killall5))
|
//applet:IF_KILLALL5(APPLET_ODDNAME(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killall5))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_KILL) += kill.o
|
//kbuild:lib-$(CONFIG_KILL) += kill.o
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
//config: Send signals to processes by name.
|
//config: Send signals to processes by name.
|
||||||
|
|
||||||
//applet:IF_PGREP(APPLET(pgrep, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_PGREP(APPLET(pgrep, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_PKILL(APPLET_ODDNAME(pkill, pgrep, BB_DIR_USR_BIN, BB_SUID_DROP, pkill))
|
//applet:IF_PKILL(APPLET_ODDNAME(pkill, pgrep, BB_DIR_USR_BIN, BB_SUID_DROP, pkill))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_PGREP) += pgrep.o
|
//kbuild:lib-$(CONFIG_PGREP) += pgrep.o
|
||||||
|
@ -60,7 +60,8 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
//config: Sets soft resource limits as specified by options
|
//config: Sets soft resource limits as specified by options
|
||||||
|
|
||||||
//applet:IF_CHPST(APPLET(chpst, BB_DIR_USR_BIN, BB_SUID_DROP))
|
//applet:IF_CHPST(APPLET(chpst, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||||
//applet:IF_ENVDIR(APPLET_ODDNAME(envdir, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, envdir))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_ENVDIR( APPLET_ODDNAME(envdir, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, envdir))
|
||||||
//applet:IF_ENVUIDGID(APPLET_ODDNAME(envuidgid, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, envuidgid))
|
//applet:IF_ENVUIDGID(APPLET_ODDNAME(envuidgid, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, envuidgid))
|
||||||
//applet:IF_SETUIDGID(APPLET_ODDNAME(setuidgid, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, setuidgid))
|
//applet:IF_SETUIDGID(APPLET_ODDNAME(setuidgid, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, setuidgid))
|
||||||
//applet:IF_SOFTLIMIT(APPLET_ODDNAME(softlimit, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, softlimit))
|
//applet:IF_SOFTLIMIT(APPLET_ODDNAME(softlimit, chpst, BB_DIR_USR_BIN, BB_SUID_DROP, softlimit))
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
//config: the same as setfiles, but usage is a little different.
|
//config: the same as setfiles, but usage is a little different.
|
||||||
|
|
||||||
//applet:IF_SETFILES(APPLET(setfiles, BB_DIR_SBIN, BB_SUID_DROP))
|
//applet:IF_SETFILES(APPLET(setfiles, BB_DIR_SBIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_RESTORECON(APPLET_ODDNAME(restorecon, setfiles, BB_DIR_SBIN, BB_SUID_DROP, restorecon))
|
//applet:IF_RESTORECON(APPLET_ODDNAME(restorecon, setfiles, BB_DIR_SBIN, BB_SUID_DROP, restorecon))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_SETFILES) += setfiles.o
|
//kbuild:lib-$(CONFIG_SETFILES) += setfiles.o
|
||||||
|
@ -136,7 +136,8 @@
|
|||||||
//config:endif # ash options
|
//config:endif # ash options
|
||||||
|
|
||||||
//applet:IF_ASH(APPLET(ash, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_ASH(APPLET(ash, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//applet:IF_SH_IS_ASH(APPLET_ODDNAME(sh, ash, BB_DIR_BIN, BB_SUID_DROP, ash))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_SH_IS_ASH( APPLET_ODDNAME(sh, ash, BB_DIR_BIN, BB_SUID_DROP, ash))
|
||||||
//applet:IF_BASH_IS_ASH(APPLET_ODDNAME(bash, ash, BB_DIR_BIN, BB_SUID_DROP, ash))
|
//applet:IF_BASH_IS_ASH(APPLET_ODDNAME(bash, ash, BB_DIR_BIN, BB_SUID_DROP, ash))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_ASH) += ash.o ash_ptr_hack.o shell_common.o
|
//kbuild:lib-$(CONFIG_ASH) += ash.o ash_ptr_hack.o shell_common.o
|
||||||
|
@ -277,8 +277,9 @@
|
|||||||
//config: msh is deprecated and will be removed, please migrate to hush.
|
//config: msh is deprecated and will be removed, please migrate to hush.
|
||||||
|
|
||||||
//applet:IF_HUSH(APPLET(hush, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_HUSH(APPLET(hush, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
//applet:IF_MSH(APPLET_ODDNAME(msh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_SH_IS_HUSH(APPLET_ODDNAME(sh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
|
//applet:IF_MSH( APPLET_ODDNAME(msh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
|
||||||
|
//applet:IF_SH_IS_HUSH( APPLET_ODDNAME(sh, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
|
||||||
//applet:IF_BASH_IS_HUSH(APPLET_ODDNAME(bash, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
|
//applet:IF_BASH_IS_HUSH(APPLET_ODDNAME(bash, hush, BB_DIR_BIN, BB_SUID_DROP, hush))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_HUSH) += hush.o match.o shell_common.o
|
//kbuild:lib-$(CONFIG_HUSH) += hush.o match.o shell_common.o
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
//config: ramdisk. If you have no use for freeing memory from a ramdisk, leave
|
//config: ramdisk. If you have no use for freeing memory from a ramdisk, leave
|
||||||
//config: this disabled.
|
//config: this disabled.
|
||||||
|
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush))
|
//applet:IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush))
|
||||||
//applet:IF_FREERAMDISK(APPLET(freeramdisk, BB_DIR_SBIN, BB_SUID_DROP))
|
//applet:IF_FREERAMDISK(APPLET(freeramdisk, BB_DIR_SBIN, BB_SUID_DROP))
|
||||||
|
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "mke2fs".
|
//config: Alias to "mke2fs".
|
||||||
|
|
||||||
//applet:IF_MKE2FS(APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_MKE2FS( APPLET_ODDNAME(mke2fs, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
|
||||||
//applet:IF_MKFS_EXT2(APPLET_ODDNAME(mkfs.ext2, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
|
//applet:IF_MKFS_EXT2(APPLET_ODDNAME(mkfs.ext2, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
|
||||||
////////:IF_MKFS_EXT3(APPLET_ODDNAME(mkfs.ext3, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
|
////////:IF_MKFS_EXT3(APPLET_ODDNAME(mkfs.ext3, mkfs_ext2, BB_DIR_SBIN, BB_SUID_DROP, mkfs_ext2))
|
||||||
|
|
||||||
|
@ -80,6 +80,7 @@
|
|||||||
//config: this. If you enabled 'mkfs_minix' then you almost certainly want to
|
//config: this. If you enabled 'mkfs_minix' then you almost certainly want to
|
||||||
//config: be using the version 2 filesystem support.
|
//config: be using the version 2 filesystem support.
|
||||||
|
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix))
|
//applet:IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_MKFS_MINIX) += mkfs_minix.o
|
//kbuild:lib-$(CONFIG_MKFS_MINIX) += mkfs_minix.o
|
||||||
|
@ -21,7 +21,8 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: Alias to "mkdosfs".
|
//config: Alias to "mkdosfs".
|
||||||
|
|
||||||
//applet:IF_MKDOSFS(APPLET_ODDNAME(mkdosfs, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_MKDOSFS( APPLET_ODDNAME(mkdosfs, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat))
|
||||||
//applet:IF_MKFS_VFAT(APPLET_ODDNAME(mkfs.vfat, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat))
|
//applet:IF_MKFS_VFAT(APPLET_ODDNAME(mkfs.vfat, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_MKDOSFS) += mkfs_vfat.o
|
//kbuild:lib-$(CONFIG_MKDOSFS) += mkfs_vfat.o
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
//config: Alias to "setarch linux64".
|
//config: Alias to "setarch linux64".
|
||||||
|
|
||||||
//applet:IF_SETARCH(APPLET(setarch, BB_DIR_BIN, BB_SUID_DROP))
|
//applet:IF_SETARCH(APPLET(setarch, BB_DIR_BIN, BB_SUID_DROP))
|
||||||
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
//applet:IF_LINUX32(APPLET_ODDNAME(linux32, setarch, BB_DIR_BIN, BB_SUID_DROP, linux32))
|
//applet:IF_LINUX32(APPLET_ODDNAME(linux32, setarch, BB_DIR_BIN, BB_SUID_DROP, linux32))
|
||||||
//applet:IF_LINUX64(APPLET_ODDNAME(linux64, setarch, BB_DIR_BIN, BB_SUID_DROP, linux64))
|
//applet:IF_LINUX64(APPLET_ODDNAME(linux64, setarch, BB_DIR_BIN, BB_SUID_DROP, linux64))
|
||||||
|
|
||||||
|
@ -41,7 +41,8 @@
|
|||||||
//config: help
|
//config: help
|
||||||
//config: This option enables the 'swapoff' utility.
|
//config: This option enables the 'swapoff' utility.
|
||||||
|
|
||||||
//applet:IF_SWAPON(APPLET_ODDNAME(swapon, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapon))
|
// APPLET_ODDNAME:name main location suid_type help
|
||||||
|
//applet:IF_SWAPON( APPLET_ODDNAME(swapon, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapon))
|
||||||
//applet:IF_SWAPOFF(APPLET_ODDNAME(swapoff, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapoff))
|
//applet:IF_SWAPOFF(APPLET_ODDNAME(swapoff, swap_on_off, BB_DIR_SBIN, BB_SUID_DROP, swapoff))
|
||||||
|
|
||||||
//kbuild:lib-$(CONFIG_SWAPON) += swaponoff.o
|
//kbuild:lib-$(CONFIG_SWAPON) += swaponoff.o
|
||||||
|
Loading…
Reference in New Issue
Block a user