sin
|
8f4c0f2a8e
|
Add random replies for failed password attempts in su(1)
|
2014-04-22 16:40:16 +01:00 |
|
sin
|
0e6d7ca286
|
Implement fifo listener mode for respawn
|
2014-04-22 16:40:11 +01:00 |
|
dwts
|
053e63968d
|
keep usage definition above main in ubase
|
2014-04-22 15:36:53 +01:00 |
|
sin
|
996c2d42a3
|
Remove -Os from config.mk
Tends to give false-positives with uninitialized variables.
|
2014-04-21 12:11:59 +01:00 |
|
sin
|
505bb70e89
|
Fix char **argv to char *argv[]
|
2014-04-18 11:52:31 +01:00 |
|
sin
|
36d6216455
|
Style fix for respawn
|
2014-04-18 11:37:18 +01:00 |
|
sin
|
ba764589ba
|
For consistency with other similar constructs in ubase
|
2014-04-18 09:40:13 +01:00 |
|
sin
|
8d92201170
|
variable cannot be NULL so don't test for that
|
2014-04-18 09:31:35 +01:00 |
|
sin
|
2618410910
|
Use streplace() in setsysctl() as well
|
2014-04-17 19:05:49 +01:00 |
|
sin
|
87cb818ac0
|
No need for a temporary variable in streplace()
|
2014-04-17 17:18:55 +01:00 |
|
sin
|
edc39cef27
|
If at least one entry fails, return EXIT_FAILURE in sysctl
|
2014-04-17 17:08:52 +01:00 |
|
sin
|
3985929b6d
|
Error out if there are multiple separators in sysctl
|
2014-04-17 17:05:13 +01:00 |
|
sin
|
0897d999e6
|
Implement streplace()
Restore variable as early as possible and in error conditions
|
2014-04-17 16:42:26 +01:00 |
|
sin
|
6ba9fe35f1
|
Remember to convert '/' back to '.' in sysctl before returning
|
2014-04-17 16:33:18 +01:00 |
|
sin
|
e4fa3f5c59
|
Don't leak `buf' if realloc fails
Not an issue in ubase but someone might want to re-use this
function elsewhere.
|
2014-04-17 16:27:06 +01:00 |
|
sin
|
3803adfd7e
|
Don't hardcode the buffer size in sysctl
|
2014-04-17 16:21:55 +01:00 |
|
sin
|
8b32decb6f
|
Add initial implementation of sysctl(8)
Needs a bit of cleanup (avoiding magic numbers etc.).
|
2014-04-17 15:31:42 +01:00 |
|
sin
|
c354e5e1d3
|
Add respawn to README
|
2014-04-17 14:13:07 +01:00 |
|
sin
|
c4ff95798c
|
Add respawn
|
2014-04-17 14:08:35 +01:00 |
|
sin
|
e8b61e9b7e
|
Add manpages to Makefile
|
2014-04-14 15:20:09 +01:00 |
|
sin
|
6c19de185a
|
Inline the *_MAGIC defines to avoid a dependency on kernel_headers
|
2014-04-14 14:59:39 +01:00 |
|
sin
|
2521a5edec
|
Add commented out # -static in config.mk
|
2014-04-14 14:56:09 +01:00 |
|
sin
|
a707baffd6
|
Initialize size to 0 to avoid gcc warnings
We can never get to a call to ftruncate() without specifying size
so the compiler warning is bogus.
|
2014-04-14 14:53:20 +01:00 |
|
sin
|
f9a9d4d8fc
|
Add -s to LDFLAGS
|
2014-04-14 14:49:02 +01:00 |
|
sin
|
1e78b0aa16
|
Simplify config.mk and update README for tcc
|
2014-04-14 14:44:58 +01:00 |
|
FRIGN
|
6e3023fc27
|
Add switch_root manpage
|
2014-04-14 14:36:40 +01:00 |
|
sin
|
e43a102f11
|
Inlcude <string.h> as well for strcmp()
Sort include files.
|
2014-04-14 12:49:25 +01:00 |
|
sin
|
bed72cf409
|
Simplify skipping "." and ".." in switch_root
|
2014-04-14 11:32:59 +01:00 |
|
sin
|
33be4f39c2
|
Fixup error message in switch_root
|
2014-04-14 11:27:33 +01:00 |
|
sin
|
6cf5c4dfba
|
Include limits.h instead of linux/limits.h
|
2014-04-14 11:24:02 +01:00 |
|
sin
|
4d7091cae9
|
Use *_FILENO instead of hardcoding constants
|
2014-04-14 11:22:47 +01:00 |
|
sin
|
fc4dc81535
|
Some more stylistic changes to switch_root
|
2014-04-14 11:20:25 +01:00 |
|
sin
|
fb45d91ccc
|
Add switch_root to README
|
2014-04-14 09:53:47 +01:00 |
|
sin
|
38a0ce084f
|
Remember to return EXIT_FAILURE from main()
Doesn't matter in this case but gets rid of compiler warnings.
|
2014-04-14 09:47:13 +01:00 |
|
sin
|
483839d876
|
Add a SEE ALSO section for the umount manpage
|
2014-04-14 09:46:15 +01:00 |
|
FRIGN
|
c7d72a8a56
|
Implement switch_root
|
2014-04-14 09:44:38 +01:00 |
|
sin
|
1943d5d62f
|
Be consistent with the escape sequences in the manpages
|
2014-04-14 09:28:07 +01:00 |
|
dwts
|
5c320a2cce
|
update who.1 to list the -l option
|
2014-04-14 09:28:01 +01:00 |
|
dwts
|
4942308f86
|
add more info to unshare.1
|
2014-04-14 09:27:54 +01:00 |
|
sin
|
67d3051f27
|
Remove implemented items from TODO
|
2014-04-13 17:45:40 +01:00 |
|
sin
|
ca2effd60a
|
Add mount manpage
|
2014-04-13 17:45:35 +01:00 |
|
sin
|
cc1eda23d0
|
Add ps manpage
|
2014-04-13 17:30:40 +01:00 |
|
sin
|
5c8cf6925d
|
Add su manpage and fix su usage line
|
2014-04-13 17:23:26 +01:00 |
|
sin
|
466e9c493d
|
Fix some more inconsistencies
|
2014-04-13 17:00:42 +01:00 |
|
sin
|
6ba1d6e048
|
Break line in mknod.1
|
2014-04-13 16:54:40 +01:00 |
|
sin
|
c35d668de3
|
Fix typo
|
2014-04-13 16:50:20 +01:00 |
|
sin
|
59769ecf3b
|
Fix manpage style
|
2014-04-13 16:40:56 +01:00 |
|
sin
|
a226576983
|
Add pidof manpage
|
2014-04-13 16:36:34 +01:00 |
|
sin
|
e5b519c192
|
Fix uptime manpage
|
2014-04-13 16:28:58 +01:00 |
|
sin
|
f58c4312a4
|
Add umount manpage and fix umount usage
|
2014-04-13 16:28:51 +01:00 |
|