summaryrefslogtreecommitdiffstats
path: root/lib/libutil/readlabel.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Use O_CLOEXEC when opening fds local to a functionguenther2016-08-301-4/+4
| | | | ok jca@ krw@
* Move to the <limits.h> universe.deraadt2015-01-161-3/+4
| | | | review by millert, binary checking process with doug, concept with guenther
* sort includes much more sensiblyderaadt2014-06-301-9/+8
|
* Teach readlabelfs() how to handle DUIDs.jsing2010-11-151-4/+24
| | | | ok krw@
* Fix off by one comparison. FSMAXTYPES is the last valid index intokrw2006-10-021-2/+2
| | | | | | | | | fstypesnames[], but that entry is NULL. The last valid file system name is at fstypesnames[FSMAXTYPES-1]. Encountered and diagnosed by pedro@. ok pedro@ deraadt@
* label a switch fallthroughderaadt2004-09-181-1/+2
|
* knf; otto okderaadt2004-05-281-17/+14
|
* fgsch, if you commit without test compiling ONE MORE TIME, I will send a castration team down to argentinaderaadt2002-02-211-2/+2
|
* use sizeof w/ defines; niklas@ millert@ ok.fgsch2002-02-211-3/+3
|
* consistently use #include "util.h" not <util.h> since util.h lives in this dir.millert2001-08-161-2/+3
|
* -Wallmillert1997-11-181-1/+3
|
* readlabelfs() takes two arguments now, update prototype, inc major number.downsj1996-12-231-8/+15
|
* sanitize return value. NULL on failure, always.downsj1996-12-041-3/+4
|
* Add readlabelfs().downsj1996-12-031-0/+115