X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=miscutils%2Fflash_lock_unlock.c;h=6f2c049f4a29bc5339fc48b7fba8a2549412356b;hb=363fb5ec4091120003b3f204996e7ff0aa354e58;hp=2f698641f4b5dc2506387383474f0bbae49e4e66;hpb=f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541;p=oweals%2Fbusybox.git diff --git a/miscutils/flash_lock_unlock.c b/miscutils/flash_lock_unlock.c index 2f698641f..6f2c049f4 100644 --- a/miscutils/flash_lock_unlock.c +++ b/miscutils/flash_lock_unlock.c @@ -4,21 +4,23 @@ * Licensed under GPLv2, see file LICENSE in this source tree. */ //config:config FLASH_LOCK -//config: bool "flash_lock" +//config: bool "flash_lock (2.1 kb)" //config: default n # doesn't build on Ubuntu 8.04 //config: help -//config: The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This -//config: utility locks part or all of the flash device. +//config: The flash_lock binary from mtd-utils as of git head 5ec0c10d0. This +//config: utility locks part or all of the flash device. //config: //config:config FLASH_UNLOCK -//config: bool "flash_unlock" +//config: bool "flash_unlock (1.3 kb)" //config: default n # doesn't build on Ubuntu 8.04 //config: help -//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: The flash_unlock binary from mtd-utils as of git head 5ec0c10d0. This +//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)) +/* not NOEXEC: if flash operation stalls, use less memory in "hung" process */ //kbuild:lib-$(CONFIG_FLASH_LOCK) += flash_lock_unlock.o //kbuild:lib-$(CONFIG_FLASH_UNLOCK) += flash_lock_unlock.o