sin
|
86060b535c
|
Fix includes across all tools
|
2014-06-30 19:04:47 +01:00 |
|
sin
|
06dcf39b3a
|
Add some error checking to util/recurse.c
Some more stylistic changes and simplification.
|
2014-06-30 16:06:15 +01:00 |
|
sin
|
968ccce951
|
Sync util/recurse.c with that of sbase
|
2014-06-30 15:45:16 +01:00 |
|
sin
|
67d38a7e43
|
Import strl{cpy,cat}() from sbase
|
2014-06-30 14:10:51 +01:00 |
|
sin
|
924fc8449b
|
Disable core dumps in case passwd(1) crashes
Avoids leaking the shadow db.
|
2014-06-10 11:44:33 +01:00 |
|
sin
|
60500e376a
|
Print "incorrect password" when checking empty passwords as well
|
2014-06-09 13:08:18 +01:00 |
|
sin
|
d745889805
|
Fix pw_check() semantics and style - it is now similar to pw_copy()
|
2014-06-09 13:05:24 +01:00 |
|
sin
|
78192e87d9
|
Simplify a bit pw_check()
|
2014-06-09 12:57:45 +01:00 |
|
sin
|
4c38dffade
|
If the user password is empty check it against the provided pass as well
|
2014-06-09 12:13:22 +01:00 |
|
sin
|
77a2f9f92c
|
Add initial pw_check()
|
2014-06-09 11:12:53 +01:00 |
|
sin
|
abbb8fffc7
|
Remember to free the agetline() buffer
|
2014-06-05 17:00:39 +01:00 |
|
sin
|
1ec996439a
|
Add initial implementation of passwd(1)
No shadow support yet.
|
2014-06-05 16:57:27 +01:00 |
|
sin
|
6ea2b1aa53
|
Use estrtoul() in dd(1)
Allow specifications in hex and octal as well.
|
2014-06-04 13:13:00 +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
|
1920516abf
|
Add explicit_bzero() in util/
|
2014-04-30 12:30:10 +01:00 |
|
sin
|
82c99b16a7
|
Be consistent and use #ifdef instead of #if
|
2014-03-28 16:00:43 +00:00 |
|
sin
|
21e708abd4
|
Prefix error/warning messages with program name if DEBUG is defined
|
2014-03-28 15:56:02 +00:00 |
|
sin
|
552a5ae4b5
|
Don't prefix messages with the tool name by default
|
2014-03-12 14:39:42 +00:00 |
|
sin
|
6df1301594
|
Add weprintf()
|
2014-03-12 14:23:19 +00:00 |
|
sin
|
3f98a7abc8
|
Convert mount(8) to mntent and kill grabmntinfo.[ch]
|
2014-02-24 13:44:15 +00:00 |
|
Hiltjo Posthuma
|
c5f17bd3dc
|
remove some signed / unsigned type warnings
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
|
2014-02-14 14:11:37 +00:00 |
|
sin
|
892d84ca24
|
Return an error if we can't open the files in /proc
|
2014-02-13 12:28:46 +00:00 |
|
sin
|
a8e1ea1398
|
Guard against strlcpy()/strlcat() being implemented as macros
|
2014-02-10 13:16:42 +00:00 |
|
sin
|
1de3e6c679
|
Always print the program name
|
2014-02-10 12:34:34 +00:00 |
|
sin
|
7f7c3f29e9
|
Don't use 'tty/' rather use 'tty'
|
2013-09-06 10:29:00 +01:00 |
|
sin
|
899d589db0
|
Add watch(1)
|
2013-09-04 11:35:36 +01:00 |
|
sin
|
6a56bdf4ca
|
Add primitive pidof(8)
|
2013-08-29 11:11:26 +01:00 |
|
sin
|
42b640fa21
|
Rename validps() to pidfile()
|
2013-08-16 16:42:59 +01:00 |
|
sin
|
e33f5bed23
|
Add parsestatus()
|
2013-08-16 16:36:52 +01:00 |
|
sin
|
9480f70121
|
Add comment for proc{euid,uid}()
|
2013-08-16 14:47:03 +01:00 |
|
sin
|
e84531958e
|
Support -f for ps(1)
Fix missing break in tty.c as well.
|
2013-08-16 14:41:42 +01:00 |
|
sin
|
5df65ecfd4
|
Add barebones ps(1)
|
2013-08-15 16:50:48 +01:00 |
|
sin
|
97cbad7eef
|
Remove OpenBSD support
This is becoming a nightmare. Just support Linux.
|
2013-08-14 14:40:47 +01:00 |
|
sin
|
a770b91e62
|
Revert "Remove comment in eprintf.c"
This is actually useful when debugging ubase.
|
2013-08-12 11:03:53 +01:00 |
|
sin
|
63678c3235
|
Remove comment in eprintf.c
We do not prefix with the program name.
|
2013-08-09 15:54:44 +01:00 |
|
sin
|
987ec1ef09
|
Initial commit of ubase - the ugly/unportable base
|
2013-08-06 13:17:14 +01:00 |
|