* libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file

limit with getlog() / getulong(). This also means, in case of
	non-PAM enabled systems, that the umask specified on the GECOS
	fields should start with a 0 if specified in octal. (it used to be
	force to octal). Do the appropriate cast and range checking.
This commit is contained in:
nekral-guest
2009-04-24 22:56:42 +00:00
parent 0c571784a3
commit 10396f9536
2 changed files with 51 additions and 34 deletions

View File

@@ -1,3 +1,11 @@
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/limits.c: Parse the limits, umask, nice, maxlogin, file
limit with getlog() / getulong(). This also means, in case of
non-PAM enabled systems, that the umask specified on the GECOS
fields should start with a 0 if specified in octal. (it used to be
force to octal). Do the appropriate cast and range checking.
2009-04-25 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/salt.c: In case gettimeofday() fails, get some entropy