summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-05- Remove the userland data limit check. It's mmap(2)'s job.Thierry Deval
- When malloc_abort==0 (MALLOC_OPTIONS=a), don't abort in wrterror(). fine deraadt@
2004-08-05Add skeychallenge2() which is like skeychallenge() but takes anTodd C. Miller
already open fd. Will be used to make separate challenge/response invocations of login_skey keep the record locked. Also properly escape minus signs in man page. OK henning@ jmc@
2004-08-05- fix includes needed to compileJared Yanovich
- mdoc and macro fixes - sync to reality - mention where the kinfo_proc type definition can be found ok millert jmc
2004-08-04Missing check for NULL.Thierry Deval
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-08-03It's not really possible to make strtonum() deal with unsigned longTodd C. Miller
long values properly so don't bother trying. This greatly simplifies the code. tedu@ OK with input from otto@ and others.
2004-08-02Fix typo (SIGEV_EVENT -> SIGEV_KEVENT)Brad Smith
From FreeBSD
2004-08-02s/kqueue/kevent/ in correct place.Brad Smith
From FreeBSD
2004-08-01After a long gestation period, here comes our custom version of malloc(3)Thierry Deval
using mmap(2) instead of sbrk(2). To make a long story short, using mmap(2) in malloc(3) allows us to draw all the benefits from our mmap(2)'s randomization feature, closing the effort we did for returning memory blocks from random addresses. Tested for a long time by many, thanks to them. Go for it ! deraadt@
2004-07-29we no longer need to query ip6.int for reverse lookup. pvalchev okJun-ichiro itojun Hagino
2004-07-28Use SHA1Pad() instead of relying on unspecified behavior.Todd C. Miller
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-28Use less stack space for temporary storage and C code invocation, afterMiod Vallat
the ABI change.
2004-07-28Update stack frame processing after ABI change.Miod Vallat
2004-07-26- change some lists from -column to -tag (-column not needed) and adjustJason McIntyre
for a decent -width - document MSG_DONTWAIT (from FreeBSD) - simplify macros - document EHOSTUNREACH, EHOSTDOWN, and ENETDOWN; spotted by henning@ - .Xr connect 2 ok henning@ millert@
2004-07-24New, working, profiling code for m88k.Miod Vallat
2004-07-24Xr _Exit(3)Todd C. Miller
2004-07-22typo;Jason McIntyre
2004-07-22Fix a typo and get good results in the process, fixes PR 3830 and passesMiod Vallat
Perl's regression test; ok art@
2004-07-22Do not overallocate stack space, and keep the stack on a 16-byte boundary.Miod Vallat
2004-07-18fix memory leak; ok millert@ tdeval@Jakob Schlyter
2004-07-18return EINVAL if ftruncate(2) is passed a negative offsetAnil Madhavapeddy
ok millert@, miod@, marius@
2004-07-17add PD statement. Requested by espie@, OK millert@Marco S Hyman
2004-07-17remove K&R stub supportTheo de Raadt
2004-07-16Do not forget to test the lower bound if the upper bound > LLONG_MAX.Otto Moerbeek
ok millert@
2004-07-16Avoid comparing unsigned and signed long longs since the signedTodd C. Miller
one will get implicitly cast to unsigned. Fixes a bug with negative minval noticed by mjc@. Similar to a diff from miod@. OK miod@.
2004-07-15remove references to removed pages: clnp(4), esis(4), and iso(4);Jason McIntyre
2004-07-15add minimal __syscall() proto for lintTheo de Raadt
2004-07-14MAXNAMELEN -> MAXNAMLENJean-Francois Brousseau
ok jmc@
2004-07-13passwd.conf has been deprecated since login.conf was imported.Todd C. Miller
Today it finally dies. Based on a diff from Gabriel Kihlman.
2004-07-13Remove iso_addr() and iso_ntoa() as part of the netiso removal.Todd C. Miller
From henning@, OK deraadt@
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-13Sync with NetBSD, picking up fixes to correctly reset status bits returningMark Kettenis
the old status bits. ok deraadt@
2004-07-10typo; from patrick latifiJakob Schlyter
2004-07-07The -DPIC flag must be passed when building crtbeginS.o/crtendS.o howeverDale Rahn
using PICFLAGS is not the proper way to do that. Put it directly in the build script. Fixes a problem with upcoming PICFLAG. ok deraadt@
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-05update(8) is an in-kernel process;Jason McIntyre
from jared yanovich;
2004-07-05typo from jared yanovich;Jason McIntyre
2004-07-03This was supposed to compile.Miod Vallat
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-02kill dead .Xr to memory(3);Jason McIntyre
from kjell@
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-07-01if sym has null value -- report as not found; check that kd->vmst is set ↵Michael Shalayeff
before use; millert@ ok
2004-06-29Header cleanup.Mathieu Sauve-Frankel
ok hshoexer@
2004-06-28merge in tzcode2004aTodd C. Miller
2004-06-26wording and formatting from jared yanovich;Jason McIntyre
2004-06-26kill whitespace at eol;Jason McIntyre