summaryrefslogtreecommitdiff
path: root/lib/libc/gen
AgeCommit message (Collapse)Author
2004-10-17implement strnunvis(3), a bounded version of strunvis(3). ok millert@Otto Moerbeek
2004-10-07Kill register and fix some whilespace goofs in a do {} while loop.Todd C. Miller
2004-10-01add some missing $, ok djm@ 'That looks fine to me' millert@Jonathan Gray
2004-09-16unused variable killedTheo de Raadt
2004-09-15prettyTheo de Raadt
2004-09-04password databases -> group databases;Jason McIntyre
from netbsd -r 1.20; ok millert@
2004-08-30Use CMSG_SPACE when allocating space for the control message.Todd C. Miller
Fixes fd passing problems on sparc and sparc64. OK henning@
2004-08-10Only expand a tilde for strings like "~", "~/..", "~user" and "~user/".Todd C. Miller
For the PATH, only expand a tilde that is at the beginning of the path name. This is similar to the behavior prior to my commit here yesterday.
2004-08-09Support the "setenv" capability in login.conf ala FreeBSD. FollowingTodd C. Miller
FreeBSD's example, a '~' in an environment variable is replaced with the user's homedir. A '$' is replaced by the user's login name. Both can be escaped with a backslash to get the literal char. OK deraadt@
2004-08-09Add my copyright.Todd C. Miller
2004-08-07Honor vmemoryuse resouce limit if RLIMIT_VMEM is defined.Todd C. Miller
2004-08-06in pclose(), only fclose() a stream if it has been opened by popen(), soPedro Martelletto
that applications doing: 'ok = (pclose(f) != -1) || (fclose(f) == 0)' can work safely and avoid a double-close of a stream. ok millert@
2004-08-03Add support for passing a file descriptor back and forth betweenTodd C. Miller
the parent program and the login script. This will be used by login scripts that need to maintain state, for instance keeping a record locked during authentication while using separate challenge and response authentication with S/Key. OK deraadt@ marius@ henning@
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
code is all conditionalized on __HAVE_TIMECOUNTER, and not enabled on any platforms. adjtime(2) support exists, courtesy of nordin@, sysctl(2) support and a concept of quality for each time source attached exists. High quality time sources exists for PIIX4 ACPI timer as well as some AMD power management chips. This will have to be redone once we actually add ACPI support (at that time we need to use the ACPI interfaces to get at these clocks). ok art@ ken@ miod@ jmc@ and many more
2004-07-17add PD statement. Requested by espie@, OK millert@Marco S Hyman
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-07-07If fts_close() fails and we have not yet seen an error, return -1.Todd C. Miller
2004-07-06Set path in declaration to avoid an ugly cast in fts_open()Todd C. Miller
Set FTS_LOGICAL in flags if we didn't set FTS_PHYSICAL as required by fts(3)
2004-07-02whitespace;Jason McIntyre
2004-07-02deregister, better use of strtoul and always set ERANGE on invalid octalOtto Moerbeek
permission. ok millert@; man page ok jmc@
2004-07-01Initialize cmd when processing octal only. Failing to do that resultsOtto Moerbeek
in rare cases of bogus permissions; noted when using mtree(8) with mmap malloc. ok tdeval@ millert@
2004-06-07major bump to libc and libpthread to break the dependency of aMarco S Hyman
particular implementation of libpthread for libc. libc no longer needs pthread.h to compile. OK millert@, brad@, tedu@
2004-06-03cross-Xref to make pathconf/sysconf easy to find.Marc Espie
twiddling and okay jmc@ millert@
2004-05-18ansify function definitions and zap some `register'Jean-Francois Brousseau
ok millert@
2004-05-07Document _SC_XOPEN_SHM, SEM_NSEMS_MAX and SEM_VALUE_MAX.Todd C. Miller
2004-05-07Implement _SC_SEM_NSEMS_MAX and _SC_SEM_VALUE_MAX.Todd C. Miller
Based on a diff from Jean-GĂ©rard Pailloncy.
2004-05-03XPG specifies bsd_signal(3) so make it an alias for signal(3); OK deraadt@Todd C. Miller
2004-04-30Mention siginterrupt; OK deraadt@Todd C. Miller
2004-04-20kern.maxclusters. ok beck@ deraadt@ jmc@Ted Unangst
2004-04-16more display/list fixes, and a little whitespace;Jason McIntyre
2004-03-31note that hw.cpuspeed displays the current cpu frequency (from cpu(4));Jason McIntyre
ok deraadt@
2004-03-24Disable net.inet.carp.log by default.Ryan Thomas McBride
ok deraadt@
2004-03-05don't leak memory. free and netbsd via Patrick LatifiTed Unangst
2004-03-02bpf sysctl. ok jmcTed Unangst
2004-03-02fix typo; fgsch@Todd C. Miller
2004-03-02document net.inet.tcp.reasslimitMarkus Friedl
2004-03-02Better wording for the longjmp(X, 0) case. OK otto@, deraadt@Todd C. Miller
2004-03-01Be explicit about the return value of setjmp() when longjmp(..., 0) is called.Otto Moerbeek
ok tedu@ deraadt@
2004-02-11sort sysctls;Jason McIntyre
ok millert@
2004-02-11amd64 would use negative stack direction, if it used this file; millert okTheo de Raadt
2004-02-10It's a PTY, not a PYT and KERN_TTY_NPTYS is not changeable.Todd C. Miller
2004-02-10Document KERN_TTY_INFO, KERN_TTY_MAXPTYS and KERN_TTY_NPTYS sysctls.Todd C. Miller
2004-02-10make Nm match Dt;Jason McIntyre
2004-02-01escape punctuation correctly;Jason McIntyre
2004-02-01s/RFC3390/RFC 3390/Jason McIntyre
2004-02-01do not double login_cap.c; tholoTheo de Raadt
2004-01-31missing comma; jmc@Markus Friedl
2004-01-31document net.inet.tcp.rfc3390; ok jmc@Markus Friedl
2004-01-30Fix a logic thinko I made in rev. 1.27. This fixes nlist whenTodd C. Miller
the user passes in a symbol name with an underscore pre-pended on ELF systems.
2004-01-25use new .St macro;Jason McIntyre