sin
|
0a3ed68d25
|
Add initial implementation of login(1)
No shadow support atm.
|
2014-06-02 16:17:33 +01:00 |
|
sin
|
5322e83da0
|
str* is in the reserved namespace, rename to replacestr()
|
2014-05-06 13:40:37 +01:00 |
|
sin
|
fffdb91ada
|
First release of ubase!
|
2014-05-01 12:06:14 +01:00 |
|
Jakob Kramer
|
b6e4a367e2
|
su: zero out encrypted passwords
|
2014-04-30 13:25:33 +01:00 |
|
sin
|
5b9ea69b08
|
Sweep through code and replace malloc() with emalloc() etc.
|
2014-04-30 13:12:17 +01:00 |
|
sin
|
550b655d98
|
Add ealloc.c with wrappers for emalloc() and friends
Re-organize util.h as well.
|
2014-04-30 13:11:57 +01:00 |
|
sin
|
49f1dc0ebe
|
Add LICENSE header in explicit_bzero.c
|
2014-04-30 12:32:22 +01:00 |
|
sin
|
24d5c07d29
|
Use explicit_bzero() in su
|
2014-04-30 12:30:15 +01:00 |
|
sin
|
1920516abf
|
Add explicit_bzero() in util/
|
2014-04-30 12:30:10 +01:00 |
|
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 |
|