summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-05-29when producing a v1 label, set the version!!!!Otto Moerbeek
2007-05-29Updated disklabel format to support larger disks and partitions. WeOtto Moerbeek
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@
2007-05-29mention new option 2 for nosuidcoredumpTed Unangst
2007-05-28tweaks; ok thibJason McIntyre
2007-05-27cleanup the nfssvc() system call.Thordur I. Bjornsson
* Remove alot of dead kerberos code like the options for NFSSVC_AUTHIN and NFSSVC_AUTHFAIL wich where originally to get the kerberos auth info into the kernel. (that hasnt worked for long, if ever.) Also remove some helper functions and associated goo, however theres still alot of it left. * Remove NFSSVC_BIOD, biod's where replaced with kernel threads a long time ago. * NFSSVC_MNTD wich was is NQNFS leftover. Update the man page and nfsd(8). nfssvc(2) besides being special has only one user in the tree nfsd(8), therefore no library bumps are needed. (discussed with deraadt@). ok beck@, "go a head" deraadt@ Tested by ckuethe@
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
oustside, seqencer, toghether, nessissary, etc.
2007-05-25protect against races while initializing static mutexes. okay marc@ tedu@Kurt Miller
2007-05-25"boundries" -> "boundaries" in various comments. Started by Diego Casati.Kenneth R Westerback
2007-05-23Remove unnecessary locking. There is no need for serializing calls toKurt Miller
these functions and each use of the fd is already protected. No externally visible changes. okay marc@ millert@
2007-05-21add EOVERFLOW and ECANCELED here too.Jasper Lievisse Adriaanse
reminded and ok jmc@
2007-05-21Add ECANCELED and EOVERFLOW. For canceled (async) operations and conversionJasper Lievisse Adriaanse
overflows, respectively. (EOVERFLOW from espie@) don't bump libc, as there are currently no functions that use them, but it doesn't hurt to have them around. as discussed with deraadt@, espie@, miod@ and otto@ ok deraadt@ espie@ miod@ otto@
2007-05-21clean up lint warnings related to the nfds_t type. okay marc@ millert@Kurt Miller
2007-05-20Typos.Ray Lai
OK jmc@.
2007-05-19Kernel crash dump support for arm-based platform, with minimal support inMiod Vallat
libkvm, but all the necessary information for a complete _kvm_kvatop() is available in the crash dump.
2007-05-18Eliminate many lint warnings by either: using the appropriate type,Kurt Miller
casting when safe or adding ARGSUSED where needed. Reviewed and improvements from millert@ and marc@. okay marc@
2007-05-18Register the locking hooks with ld.so.Artur Grabowski
drahn@ ok (long time ago)
2007-05-18Remove no-op code. From tbert.Ray Lai
OK moritz@ and jaredy@
2007-05-17Don't save strlen results in an int. Remove a variable that's usedRay Lai
only once while here. From tbert. OK jaredy@.
2007-05-17Check fgets return value, from Charles Longeau.Ray Lai
OK millert@.
2007-05-17LSRCS should refer to the C source version of asm files 'put it in' deraadt@Dale Rahn
2007-05-17Improve reentrancy by not using global variable. Removes twoRay Lai
wrappers around fopen/fclose. From tbert. OK millert@, tedu@, and itojun@.
2007-05-17Unbreak libc on arm. -mojMats O Jansson
2007-05-16Make it clear, that the line returned does not have aMoritz Jodeit
trailing newline in contrast to fgetln(3). ok ray@ jmc@ millert@
2007-05-16Wrap some functions, labels, and variables in #ifdefs correspondingRay Lai
to #ifdefs where they are used. Found by lint by bret dot lambert at gmail. OK deraadt@.
2007-05-15fix some lint 'xxx used, but not defined' warnings by properly addingOtto Moerbeek
stuff to LSRCS
2007-05-12Document errno usage. From Tobias Stoeckmann.Ray Lai
Earlier diff OK jmc@, with nit by otto@.
2007-05-12Use size_t for strlen results.Ray Lai
OK moritz@.
2007-05-12Clean up macros according to style. From tbert <bret dot lambert at gmail>.Ray Lai
OK moritz@ and jaredy@.
2007-05-10grammar,Marc Espie
okay jmc@
2007-05-10document net.inet.tcp.keepinittime;Jason McIntyre
spotted by Daniel Ouellet; help/ok claudio
2007-05-10Use syslog_r instead of syslog in getaddrinfo. Slowly makingRay Lai
getaddrinfo reentrant. OK millert@ and deraadt@.
2007-05-03Enable support for > 512MB of physical memory on mips64 systems, by usingMiod Vallat
XKPHYS instead of KSEG[01] for direct mappings. Then, detect memory above 256MB on O2 by poking at the CRIME registers (ARCbios will not report memory above 256MB, which is mapped above 1GB physical, to the system), and add it to the UVM managed memory. Tested on r5k, rm5200 and r10k with and without more than 256MB, matching hinv reports in all cases. CRIME memory decoding based on a diff from kettenis@ in december 2005.
2007-05-02macros at start of line require a `.';Jason McIntyre
2007-05-02Document the lack of error return value in arc4random.Pierre-Yves Ritschard
Sync the documentation in getpid with arc4random's format.
2007-05-01lint warning corrections:Kurt Miller
- use the correct types - mark _thread_gc() w/ARGSUSED - fix a 'a cast does not yield an lvalue' okay marc@
2007-05-01file descriptors are ints. make branch an int too for better structureKurt Miller
allignment. okay marc@
2007-04-27more lint warning reductions. use int for all priority vars. okay marc@Kurt Miller
2007-04-27fix minor nit with previous commitKurt Miller
2007-04-27fix thread_continuation_t typedef and use passed curthread instead ofKurt Miller
calling _get_curthread() again. fixes some lint warnings. okay marc@
2007-04-27Remove unused function _thread_fd_unlock_owned() andKurt Miller
merge _thread_fd_unlock_thread() into _thread_fd_unlock(). okay marc@
2007-04-27Use rlimit nofiles max to size fd/fdp tables instead of cur. FixesKurt Miller
applications that increase nofiles using setrlimit(2). ok marc@
2007-04-26remove unused var. okay marc@Kurt Miller
2007-04-20netbsd: stack sanity, leave the return PC aloneMartynas Venckus
ok kettenis@
2007-04-16ptr->term_names can point into ptr->str_table, so don;t free that one.Otto Moerbeek
fixes PR #5447. Fix verifed to be equal to the ifndef NO_LEAK part of current ncurses.
2007-04-14hide struct process from userland, allow kvm_proc to see it.Marc Espie
okay miod@
2007-04-12move p_limit and p_cred into struct processTed Unangst
leave macros behind for now to keep the commit small ok art beck miod pedro
2007-04-10Support for optional args separated with whitespace was removedTodd C. Miller
some time ago--it caused too many problems.
2007-04-10when kevent fails, the errno is a lot more interesting to print than -1Ted Unangst
2007-04-10new lines in error messagesTed Unangst
2007-04-10Revert previous commit which introduced regressions in KDE.Kurt Miller