Commit Graph

10 Commits

Author SHA1 Message Date
Peter Müller
66c3619872 Early spring clean: Remove trailing whitespaces, and correct licence headers
Bumping across one of our scripts with very long trailing whitespaces, I
thought it might be a good idea to clean these up. Doing so, some
missing or inconsistent licence headers were fixed.

There is no need in shipping all these files en bloc, as their
functionality won't change.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 23:54:57 +00:00
Michael Tremer
db984059b2 misc-progs: Add functions to sanitise input arguments
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
ca060524a7 misc-progs: Introduce run()
This function invokes a new command similar to safe_system()
but without launching a shell before.

That way, it is possible to execute commands without any risk
of shell command injection from nobody.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
81790c8a00 misc-progs: Set some defaults for CONFIG_ROOT and SNAME
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:50:19 +00:00
Michael Tremer
555637d156 misc-progs: Sync STRING_SIZE. 2013-10-12 18:25:14 +02:00
Michael Tremer
2b875b3985 misc-progs: Remove own copy of strlcat.
Add compatibility define that uses strncat.
2013-10-12 18:23:40 +02:00
Michael Tremer
52e54c1c9a misc-progs: Move network stuff to own header file. 2013-10-12 18:22:51 +02:00
Michael Tremer
42ec14cf2b misc-progs: Remove unused functions. 2013-10-12 16:23:41 +02:00
ms
903310c40d setfilters und setaliases entfernt.
qosctrl Fix.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@806 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-22 19:58:53 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00