Commit Graph

13527 Commits

Author SHA1 Message Date
wiz 9e3ffe49a3 Make HTML-ready, use standard section headers, fix Xr. 2009-12-01 08:15:50 +00:00
explorer 7ba2798f6e Assign copyright to TNF 2009-12-01 01:33:25 +00:00
roy 3490b83a1f Protect getdelim when used internally. 2009-12-01 00:52:13 +00:00
roy 755657be4b Remove __getdelim and just use getdelim.
fgetstr now works with strings up to SSIZE_MAX as a result, but may
reallocate buffers needlessly just like it used to when the buffer size
exceeds INT_MAX.
fgetstr converts errno EOVERFLOW to EINVAL on getdelim error.
2009-12-01 00:03:53 +00:00
roy ec4d484515 Note that callers should use feof(3) or ferror(3) to distinguish between
EOF or an error.
2009-11-30 23:23:29 +00:00
roy 4cf0472d7d Note that EOF returns -1 when no characters are read.
Add code example.
2009-11-30 22:51:46 +00:00
christos ad4d8ed92e Add no/op routines for m68000 for the sticky, mask, and round settings. 2009-11-28 23:46:38 +00:00
tnozaki 3f8ca7c44a guard single-dot from modification by the application
(SUSv3 spec don't forbid this brutal operation).
this idea taken from OpenBSD's version of basename(3) and dirname(3).
2009-11-24 13:34:20 +00:00
plunky 369de522d5 fix VIS_HTTPSTYLE to not convert "safe" ($-_.+) and "extra" (!*'(),)
characters as mentioned in rfc1738 and rfc1808 and, I think intended
all along in this code but the logic was inverted.

Don't use strchr as it also matches the NUL character which we want
to escape, just compare against the chars directly as done in the
FreeBSD code.
2009-11-23 10:08:47 +00:00
mbalmer 124961627e s/the the/the/ 2009-11-22 18:40:26 +00:00
pooka 5a9a1f8306 Update. Especially, describe ukfs_mount_disk(), ukfs_release() flags
and return value, and remove obsolete info in BUGS.
2009-11-22 18:14:49 +00:00
mbalmer 4c993ba354 one more the 2009-11-22 18:07:39 +00:00
mbalmer ca310c45c1 remove one the to much. 2009-11-22 18:05:50 +00:00
mbalmer 25c6d8b7c2 the doo doo doo, the daa daa daa... 2009-11-22 18:04:37 +00:00
wiz ca692c48bd Fix typo and uppercase UID. 2009-11-21 22:32:52 +00:00
pooka a9552d686b Update for recent interface additions. 2009-11-21 12:28:51 +00:00
pooka cf93a6e109 nuke leading whitespace 2009-11-21 12:16:19 +00:00
pooka 18382772a4 document P2K_WIZARDUID 2009-11-21 11:40:52 +00:00
pooka 251fbb35dc Report actual group array size instead of 0 (which always gives back 0 grousp). 2009-11-20 14:24:58 +00:00
pooka 2a93cba43c In getgroups(), copy only up to the number of supplementary groups
that actually exist.
2009-11-20 14:23:54 +00:00
pooka 96ae77ca39 Add "wizardmode", which allows to specify the uid which is used to
access the file system instead of using the caller uid.  This is
useful for example when modifying the root fs image for an OS
installation without wanting to dance around as root on the host.

idspispopd
2009-11-20 14:11:38 +00:00
drochner fa423103c6 if changing the password, don't clear PAM_AUTHTOK at the beginning -- this
sabotages external password strength checkers
2009-11-18 17:06:23 +00:00
drochner f7e3ae7c1f -delete prototypes which are already in <ssp/ssp.h>
-make __fail __noreturn__
2009-11-17 20:46:20 +00:00
drochner 683ac0b2d3 make the "src" strings const as in the unchecked equivalents 2009-11-17 20:44:26 +00:00
wiz 567e675c3f Mention that it is included in IEEE Std 1003.1-2008. 2009-11-17 15:02:08 +00:00
wiz 2e7202c574 Mention that getsubopt is an XSI extension for IEEE Std 1003.1, 2004 Edition. Bump date. 2009-11-17 14:52:21 +00:00
njoly 978f600106 Add RTLD_LAZY to dlopen call, to make it work on Linux hosts.
ok by pooka.
2009-11-16 17:21:26 +00:00
joerg 2ec9715635 Do not use \." for comments, always use .\". Discussed with uwe@. 2009-11-12 00:43:52 +00:00
is c4a186ea1c Move to two-clause license. 2009-11-09 15:35:27 +00:00
skrll 7a915839ac Make lib/csu compile. XXX somewhat bogus. 2009-11-09 14:34:42 +00:00
tnozaki 4c40fc3cdc redo: change _RUNTYPE_SW0 bit, mklocale(1) can't treat SWIDTH0 correctly. 2009-11-09 14:22:31 +00:00
tnozaki 80c3941c48 revert previous change. 2009-11-09 14:20:49 +00:00
tnozaki 5ebbcf6e82 change _RUNTYPE_SW0 bit, mklocale(1) can't treat SWIDTH0 correctly. 2009-11-09 14:17:47 +00:00
joerg f3abef9367 Improve portability and clarity by using uint8_t for the byte data
and expanding u_int to not depend on the !POSIX types.
2009-11-06 20:31:18 +00:00
pooka 44dcee46bd default to UKFS_PARTITION_NONE in argvprobe 2009-11-05 14:22:54 +00:00
dsl ef7eea8bfd Read input from the correct FILE. 2009-11-04 21:51:11 +00:00
dsl bc1d032082 Round timeout values up.
More importantly convert 1..99 to 1, not 0.
2009-11-04 21:24:57 +00:00
snj 32381fa0dd Follow upstream license changes for files with Michael Shalayeff's
copyright.  In most cases, this means dropping the 3rd and 4th clauses.
2009-11-03 05:07:25 +00:00
stacktic da8c43524c Make sure fts_statp is NULL when FTS_NOSTAT is set 2009-11-02 17:17:34 +00:00
plunky 212bd4a35c remove old libevent sources 2009-11-02 10:14:28 +00:00
plunky c75313ecdf switch build to use libevent-1.4.12-stable from external 2009-11-02 10:13:19 +00:00
dsl 905b39a994 Move calls to __restore_termios() into the failing path of the functions
that fail - instead of in most of the callers.
All rather pointless if tcsetattr() fails to set the mode we want we
are very unlikely to be able to restore any later on.
2009-11-01 22:11:27 +00:00
christos 2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
wiz bd339365ac Sort ERRORS. Add comma in enumeration. 2009-10-29 01:52:01 +00:00
njoly b83467c466 Make flock(2) more robust to invalid operation, such as
(LOCK_EX|LOCK_SH).
2009-10-28 18:24:44 +00:00
christos fb86afc52f hook the new flex. 2009-10-26 21:36:46 +00:00
jnemeth 906faa3823 mention MODULE_CLASS_SECMODEL 2009-10-26 20:43:37 +00:00
jnemeth 79487327f2 XXX - confirmed that ms_required is comma-delimited
XXX - MODULE_CLASS_ANY shouldn't be returned, but potentially could
      be if a module were declared that way
2009-10-26 20:40:00 +00:00
dholland f1c1c5ddec Edit - expand descriptions; document data structures in English rather
than in C; use more markup; make nroff output not exceed 80 columns.
2009-10-26 05:57:36 +00:00
christos 4958d088d0 back to old lex 2009-10-26 04:08:25 +00:00