summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix return values for usb_find_busses() and usb_find_devices(). We should trythompsa2010-05-131-2/+2
| | | | | | | to return the actual number of busses and devices. Reported by: Mike Tancsa Submitted by: Hans Petter Selaksy
* Fix header file compliancy with libusb 1.0 from sourceforge.thompsa2010-05-134-2/+8
| | | | | Reported by: Xiaofan Chen Submitted by: Hans Petter Selasky
* Support getting signed and unsigned HID data.thompsa2010-05-121-6/+10
| | | | | Submitted by: Alex Deiter Reviewed by: Hans Petter Selaksy
* Fix a bug due to a type conversion from 64 to 32 bits. The side effect ofgordon2010-05-121-2/+2
| | | | | | | | | | this type conversion is the high bits which were used to indicate if a special character was a literal or special were dropped. As a result, all special character were treated as special, even if they were supposed to be literals. Reviewed by: gad@ Approved by: mentor (wes@)
* The previous revision actually removed the bug being hinted at, sobrueffer2010-05-121-3/+2
| | | | | | | | go ahead and remove the hint. PR: 143944 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> MFC after: 1 week
* mdoc: simplify quotation schemeuqs2010-05-111-3/+2
| | | | Reviewed by: brueffer
* mdoc: fix parenthesisuqs2010-05-112-4/+6
| | | | Reviewed by: brueffer
* mdoc: use macro for +- that is understood by mdocmluqs2010-05-112-4/+4
| | | | Reviewed by: brueffer
* Document FIONREAD, FIONWRITE and FIONSPACE.brueffer2010-05-111-1/+25
| | | | | | Obtained from: NetBSD Submitted by: emaste MFC after: 1 week
* Enable liblzma support in libarchivemm2010-05-101-6/+3
| | | | | | | | Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system Approved by: kientzle, delphij (mentor) MFC after: 2 weeks
* Add two public headers missing in r207842mm2010-05-101-0/+2
| | | | | | | Adjust CFLAGS for lzmainfo, xz, xzdec Approved by: delphij (mentor) MFC after: 2 weeks
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchmm2010-05-103-0/+231
| | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
* strptime(3) confused July with June with the fr_FR locale.edwin2010-05-091-0/+8
| | | | | | | | | | | | | When parsing the month "juillet" (abbr "jul"), %B recognized it as "juin" (abbr "jui") because the full name of the month names is checked at the same time as the abbrevation. The new behaviour checks the full names first before checking the abbrevation names. PR: kern/141939 Submitted by: Denis Chatelain <denis@tikuts.com> MFC after: 1 week
* sigprocmask(2): pthread_sigmask(3) must be used in threaded processes.jilles2010-05-071-1/+7
| | | | | | | Although libthr's pthread_sigmask() just calls sigprocmask() and this is unlikely to change, mention this POSIX requirement on applications. MFC after: 1 week
* raise(3): Note that this sends a signal to the current thread, not process.jilles2010-05-071-3/+3
| | | | | | | This is how it works (with threading libraries loaded) and what POSIX requires. MFC after: 1 week
* Merger of the quota64 project into head.mckusick2010-05-075-6/+928
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This joint work of Dag-Erling Smørgrav and myself updates the FFS quota system to support both traditional 32-bit and new 64-bit quotas (for those of you who want to put 2+Tb quotas on your users). By default quotas are not compiled into the kernel. To include them in your kernel configuration you need to specify: options QUOTA # Enable FFS quotas If you are already running with the current 32-bit quotas, they should continue to work just as they have in the past. If you wish to convert to using 64-bit quotas, use `quotacheck -c 64'; if you wish to revert from 64-bit quotas back to 32-bit quotas, use `quotacheck -c 32'. There is a new library of functions to simplify the use of the quota system, do `man quotafile' for details. If your application is currently using the quotactl(2), it is highly recommended that you convert your application to use the quotafile interface. Note that existing binaries will continue to work. Special thanks to John Kozubik of rsync.net for getting me interested in pursuing 64-bit quota support and for funding part of my development time on this project.
| * Final update to current version of head in preparation for reintegration.mckusick2010-05-065-29/+53
| |\
| * \ Update to current version of head.mckusick2010-04-28356-5216/+18508
| |\ \
| * | | Debugging nits found while testing the new 64-bit quota code.mckusick2010-03-162-20/+36
| | | |
| * | | IFH@204581des2010-03-04578-37824/+23538
| |\ \ \
| * | | | Add and document the quota_convert function which converts between themckusick2009-12-283-10/+124
| | | | | | | | | | | | | | | | | | | | old 32-bit and the new 64-bit formats.
| * | | | Minor bugs turned up during conversion of quotacheck.mckusick2009-12-271-6/+7
| | | | |
| * | | | Add and document new quoat_on and quota_off functions.mckusick2009-11-163-49/+104
| | | | |
| * | | | Add quota_maxid which returns the maximum user (or group) identifiermckusick2009-10-203-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in an associated quotafile. Needed by repquota. Bug fix in quota_read.
| * | | | Sync from head.des2009-09-262-2/+19
| |\ \ \ \
| * | | | | Further extend the quotafile API.des2009-09-264-42/+137
| | | | | |
| * | | | | Styledes2009-09-251-6/+6
| | | | | |
| * | | | | Sync with headdes2009-09-259-59/+264
| |\ \ \ \ \
| * \ \ \ \ \ Merge from headdes2009-09-17658-8775/+39455
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge from head up to r188941 (last revision before the USB stack switch)des2009-09-17194-3133/+32448
| |\ \ \ \ \ \ \
| * | | | | | | | Update the quotafile library to manage both active quotas via themckusick2009-02-143-103/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quotactl(2) interface and inactive quotas by accessing the quota files directly. Update the edquota program to use this new interface as proof of concept.
| * | | | | | | | Make hasquota thread safe.mckusick2009-02-132-10/+9
| | | | | | | | |
| * | | | | | | | Move hasquota() function to libutil.mckusick2009-02-131-0/+2
| | | | | | | | |
| * | | | | | | | Move hasquota() function to libutil.mckusick2009-02-132-2/+56
| | | | | | | | |
| * | | | | | | | Bug fixes found from using these functions in edquota.mckusick2009-02-102-4/+4
| | | | | | | | |
| * | | | | | | | WIPdes2009-01-304-3/+357
| | | | | | | | |
* | | | | | | | | Update xrefs from 4.3BSD to modern signal functions in various man pages.jilles2010-05-0610-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sigvec(2) references have been updated to sigaction(2), sigsetmask(2) and sigblock(2) to sigprocmask(2), sigpause(2) to sigsuspend(2). Some legacy man pages still refer to them, that is OK.
* | | | | | | | | sigaltstack(2): document some modernizations:jilles2010-05-061-17/+15
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * un-document 'struct sigaltstack' tag for stack_t as this is BSD-specific; this doesn't seem useful enough to document as such * alternate stacks are per thread, not per process * update error codes to what the kernel does and POSIX requires MFC after: 1 week
* | | | | | | | Document RUSAGE_THREAD.kib2010-05-041-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: bde MFC after: 1 week
* | | | | | | | Bump .Dd date.delphij2010-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forgotten by: delphij
* | | | | | | | Code indent according to style(9).mm2010-05-031-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: bin/146186 Submitted by: myself Approved by: delphij (mentor) MFC after: 2 weeks
* | | | | | | | Implement the no_user_check option to pam_krb5.mm2010-05-032-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option is available in the Linux implementation of pam_krb5 and allows to authorize a user not known to the local system. Ccache is not used as we don't have a secure uid/gid for the cache file. Usable for authentication of external kerberos users (e.g Active Directory) via PAM from applications like Cyrus saslauthd, PHP or perl. PR: bin/146186 Submitted by: myself Approved by: deplhij (mentor) MFC after: 2 weeks
* | | | | | | | When configuring hwpmc to use the EXT_SNOOP event, only send a default ↵rstone2010-05-011-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cachestate qualifier on the Atom processor. Other Intel processors do not accept a cachestate qualifier and currently hwpmc will return EINVAL if you try to use the EXT_SNOOP event on those processors Approved by: jkoshy (mentor) MFC after: 2 weeks
* | | | | | | | Search beyond the first 1/8th of inodes.emaste2010-05-011-1/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | Submitted by: jeff
* | | | | | | unlinkat(2): unlinkat(AT_REMOVEDIR) fails with ENOTEMPTY like rmdir()jilles2010-04-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for non-empty directories. POSIX permits both ENOTEMPTY and EEXIST, but we use the clearer ENOTEMPTY, following BSD tradition. MFC after: 1 week
* | | | | | | kvm(3): Mention that some of the functions use sysctl(3) instead of kmem.jilles2010-04-251-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Additionally, because of sysctl(3) use (which is generally good), behaviour for crash dumps differs slightly from behaviour for live kernels and this will probably never be fixed entirely, so weaken that claim. MFC after: 1 week
* | | | | | | sysctl(3): Update description of various kern.* variables.jilles2010-04-251-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add xrefs for confstr(3) (as sysconf(3) but for strings) and kvm(3) (which is a more convenient way to access some of the variables). PR: 116480 MFC after: 1 week
* | | | | | | - Merge soft-updates journaling from projects/suj/head into head. Thisjeff2010-04-246-4/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | brings in support for an optional intent log which eliminates the need for background fsck on unclean shutdown. Sponsored by: iXsystems, Yahoo!, and Juniper. With help from: McKusick and Peter Holm
* | | | | | | - Take libinstall.a out of pkg_install and make it a proper shared library.flz2010-04-2315-0/+3285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced. Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
* | | | | | | C language does not has references, it provides pointers.kib2010-04-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by: bde MFC after: 2 weeks
OpenPOWER on IntegriCloud