summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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-26Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.Otto Moerbeek
ok miller@ henning@
2004-08-26from netbsd (-r 1.18):Jason McIntyre
the values for the parameter "how" are defined in sys/signal.h, not signal.h
2004-08-25typos from -f (PR #3907);Jason McIntyre
2004-08-24Whoops, ripemd was broken, not ripemd-160.Todd C. Miller
2004-08-24Collisions have been found for the full versions of MD4, MD5 and RMD160.Todd C. Miller
2004-08-23kill useless __main() symbol which clashes w/ certain evil software inPeter Valchev
the ports tree; ok pefo
2004-08-23Fix fgetln handling and always increment the size if we need to realloc,Otto Moerbeek
Based on a diff by kjell@; latter hunk from a diff by Sergey S. Kostyliov. ok kjell@ canacar@
2004-08-22typo; Axel AnderssonTodd C. Miller
2004-08-22mention strtonum(3)Jared Yanovich
ok millert jmc pedro
2004-08-20Don't need to check lbuf != NULL when free()ing it. In addition,Todd C. Miller
since the EOF w/o EOL can only happen for the last line, move the free() outside the loop so we only do it once. OK otto@
2004-08-15remove single 'Per Fogelstrom
2004-08-13Change an assert into a loop termination condition. Fixes a coreTodd C. Miller
dump found by jmc@. OK otto@
2004-08-11add dladdr() support and add some 'standard' dlsym() support.Dale Rahn
ok millert miod pval, grumble deraadt
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