summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
2001-06-28fix one-byte overflowsPaul Janzen
2001-06-27typo, spotted by Tom Holroyd <tomh@po.crl.go.jp>; ok deraadt@Damien Miller
2001-06-27Make the functions (which get linked in if <ctype.h> isn't #included) behavePaul Janzen
correctly. Also, don't let them segfault.
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel
2001-06-25Document that behaviour is undefined if the argument isn't EOF or an unsignedPaul Janzen
char.
2001-06-24When splitting instance from username, treat '/' as a separator asTodd C. Miller
well (for Kerb5).
2001-06-18Add new cgetusedb() function to toggle reading of .db files in getcap(3).Todd C. Miller
Needed for cap_mkdb to really DRT when given several input files or an output file with a different name from the input file. cvs: ----------------------------------------------------------------------
2001-06-18Fix a char vs. u_char problem I introduced in the last commit.Todd C. Miller
2001-06-16Disable the STATUS character when reading passwords -- people seem toTodd C. Miller
expect to be able to use ^T in a password.
2001-06-03Don't bail out early for users w/o passwd file entries since we mayTodd C. Miller
want to cons up a fake prompt for challenge/response auth methods. markus@ OK'd.
2001-06-03KERN_NPROCS documentationAngelos D. Keromytis
2001-06-03struct diskstats nowAngelos D. Keromytis
2001-05-31Fix another case of CHDIR("..") pointed out by Bruce EvansTodd C. Miller
<bde@zeta.org.au>. Instead of fixing these inline I've modified my fts_safe_changedir() function so it can be used in this case too. Thanks also to Kris Kennaway <kris@obsecurity.org>.
2001-05-30When changing directory to '..', verify that we really are whereTodd C. Miller
we should be. This is similar to the old fts bug but happens when popping out of directories, as opposed to descending into them. Patch based on one by Kris Kennaway <kris@obsecurity.org>. Issue reported by Nick Cleaton <nick@cleaton.net>
2001-05-30Complain via syslog if login.conf does not exist. With the BSDTodd C. Miller
authentication stuff in you really want to know if this file doesn't exist. The last two releases have shipped with /etc/login.conf so there's no excuse not to have it, other than an error.
2001-05-29mention setusercontext() return valueTodd C. Miller
2001-05-20Correct interval notation (<= vs. <); tadayuki@mediaone.netTodd C. Miller
2001-05-17don't copy past end of record in readdir_r (ok by art)Jim Rees
2001-05-15Make path length variables size_t. This fixes the problem whereTodd C. Miller
things like rm can't remove files with ridiculously long path names that were created by some script kiddie trying in vain to exploit something. Previously, the length was effectively constrained to USHRT_MAX due to one of the internal structs. Also, nuke FTS_CHDIRROOT since it never worked correctly and hasn't been documented for a long time.
2001-05-14Update, sync with reality. deraadt@okAngelos D. Keromytis
2001-05-11MAP_SHARED is better. Maybe we're trying to map /dev/ksyms.Artur Grabowski
And we'll never write to those mappings anyway.
2001-05-11MAP_COPY -> MAP_PRIVATEArtur Grabowski
2001-05-11Update with new sysctl'sAngelos D. Keromytis
2001-05-05Prototype for nice() lives in unistd.h, not nlist.h (pasto?)Todd C. Miller
2001-05-01Use pread() to avoid lseek() abuse, from art's todo list. Tested withAaron Campbell
config(8) UKC; millert@ ok
2001-04-23Various man page fixes and improvements from gluk@Aaron Campbell
2001-04-05remove extra continue statementsTheo de Raadt
2001-04-02use a len in g_Ctoc, easier code; freebsdTheo de Raadt
2001-03-28Fix some glob defects:Todd C. Miller
o use MAXPATHLEN, not MAXPATHLEN + 1 o when manipulating static buffers, pass functions a pointer to the end of the buffer so we can avoid any overflows Work by Theo and myself.
2001-03-28must spec +1 in this one case...Theo de Raadt
2001-03-28avoid g_Ctoc() overflows; art@ okTheo de Raadt
2001-03-28KNFTheo de Raadt
2001-03-22a bit closer to the queen's englishTheo de Raadt
2001-03-20document new interpretation for net.inet6.icmp6.nodeinfo.Jun-ichiro itojun Hagino
2001-03-19set gl_pathv to NULL after we free it; christos@netbsd.orgTodd C. Miller
2001-03-18GLOB_LIMIT changes from christosTheo de Raadt
2001-03-14Move description of exect() to execve(2) man page. Add a note about exect() notAaron Campbell
being portable.
2001-03-11mdoc police.Aaron Campbell
2001-03-01Spelling: preceeding -> precedingAaron Campbell
2001-02-28ipip.allow can also be set to 2, which skips the loopback spoofAngelos D. Keromytis
checking (for single-machine testing purposes).
2001-02-17It's not that I mind split infinitives. I just like to save'em for whenPaul Janzen
they're really needed.
2001-02-17Document behaviour with a NULL format string, and try to not split infinitivesPaul Janzen
that don't have to be split.
2001-02-13Avoid theoretical potential buffer overflowPaul Janzen
2001-02-10Insert a missing comma.Aaron Campbell
2001-02-08implement upper limit to icmp6 redirects (experimental, turned off)Jun-ichiro itojun Hagino
negative value to {mtudisc,redirect}_{hi,lo}wat will turn off the limitation. sync with kame.
2001-02-07by default, don't bark on inbound ND messages, as outsider may be able toJun-ichiro itojun Hagino
fill up /var with bogus packets. setting net.inet6.icmp6.nd6_debug will re-enable kernel messages on invalid ND packet and other occasions. improve icmp6 stats.
2001-02-04This is OpenBSD, not 4.2BSDTodd C. Miller
Bring this man page into the current millenium, it looks like little other than cut & paste has been done to this man page since 4.3BSD.
2001-02-04Add RETURN VALUES sectionTodd C. Miller
Max alarm time is 100000000 seconds, not 2147483647 (as enforced by itimerfix() in kern_time.c)
2001-02-03Fix the the elf nlist for cases where we can't mmap the headers.Artur Grabowski
This makes /dev/ksyms work (when that code is commited).
2001-01-31move utmp to large format, usernames to 32 chars; downsjTheo de Raadt