summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-08-11free memory allocated by kvm_getproc2() in kvm_close()Jared Yanovich
ok deraadt@ millert@
2004-08-11mips->mips64Per Fogelstrom
2004-08-11mips->mips64Per Fogelstrom
2004-08-11byePer Fogelstrom
2004-08-11Move mips to mips64Per Fogelstrom
2004-08-11mips->mips64. ok deraadt@Per Fogelstrom
2004-08-11Back out to brk(2) version.Thierry Deval
The mmap(2) code is cool and it has already uncovered some bugs in other code. But some issues remain on some archs, and we can't afford that for production. Don't worry, it will be back soon... I'll make sure of it...
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-07for the library ln(1)'ing, only do _pic.a if it exists (mips lacks _pic.a)Theo de Raadt
2004-08-06wrong filenameTheo de Raadt
2004-08-06ansiTheo de Raadt
2004-08-06mips alive againPer Fogelstrom
2004-08-06cleanup mipsPer Fogelstrom
2004-08-06csu stuff for sgi et alPer Fogelstrom
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