Re: [PATCH] portmap: new applet
Lukas Huba <huba.lukas <at> centrum.cz>
2011-05-01 17:12:05 GMT
Marek, thanks for notes.
Modified patch:
Signed-off-by: Lukas Huba <huba.lukas <at> centrum.cz>
---
include/applets.src.h | 1 +
include/usage.src.h | 8 ++
networking/Config.src | 16 +++
networking/Kbuild.src | 1 +
networking/portmap.c | 247 +++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 273 insertions(+), 0 deletions(-)
create mode 100644 networking/portmap.c
diff --git a/include/applets.src.h b/include/applets.src.h
index 133f376..e92f215 100644
--- a/include/applets.src.h
+++ b/include/applets.src.h
<at> <at> -283,6 +283,7 <at> <at> IF_PIPE_PROGRESS(APPLET(pipe_progress, BB_DIR_BIN, BB_SUID_DROP))
IF_PIVOT_ROOT(APPLET(pivot_root, BB_DIR_SBIN, BB_SUID_DROP))
IF_PKILL(APPLET_ODDNAME(pkill, pgrep, BB_DIR_USR_BIN, BB_SUID_DROP, pkill))
IF_POPMAILDIR(APPLET(popmaildir, BB_DIR_USR_SBIN, BB_SUID_DROP))
+IF_PORTMAP(APPLET(portmap, BB_DIR_SBIN, BB_SUID_DROP))
IF_PRINTENV(APPLET_NOFORK(printenv, printenv, BB_DIR_BIN, BB_SUID_DROP, printenv))
IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
IF_PS(APPLET(ps, BB_DIR_BIN, BB_SUID_DROP))
diff --git a/include/usage.src.h b/include/usage.src.h
index d836093..a94df3c 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
(Continue reading)