summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Add two new system calls, setloginclass(2) and getloginclass(2). This makestrasz2011-03-052-5/+23
| | | | | | | | | it possible for the kernel to track login class the process is assigned to, which is required for RCTL. This change also make setusercontext(3) call setloginclass(2) and makes it possible to retrieve current login class using id(1). Reviewed by: kib (as part of a larger patch)
* Expand the name of Palm Sunday holiday with more canonical Entry of theosa2011-03-021-5/+3
| | | | | | | Lord into Jerusalem. Merge the Pentecost and Trinity Sunday holidays, they are synonyms. Remove Body of Christ day, nonexistent holiday for Orthodox Church. Fix typo in the name of Ioann The Baptist, introduced in previous commit.
* Fix beginning day of the Carnival. it startsosa2011-03-021-1/+1
|
* printf: Note that this is used both as a normal program and a shell builtin.jilles2011-03-011-0/+4
|
* Teach kdump to decode linux syscalls names too.dchagin2011-03-013-19/+138
| | | | | | | | Fix bug introduced in my previous commit: the kernel always dump native signal numbers, so no need to check the ABI in ktrpsig(). Suggested by: jhb MFC after: 1 Month.
* Remove duplicate "in".brucec2011-03-011-1/+1
| | | | | Suggested by: Rob Farmer <rfarmer at predatorlabs.net> MFC after: 3 days
* Revert some of r177626. "in in" is valid in certain sentences.brucec2011-02-281-1/+1
| | | | | PR: 121490 MFC after: 3 days
* Finally... Import the latest open-source ZFS version - (SPA) 28.pjd2011-02-271-0/+1
| | | | | | | | | | | | | | | Few new things available from now on: - Data deduplication. - Triple parity RAIDZ (RAIDZ3). - zfs diff. - zpool split. - Snapshot holds. - zpool import -F. Allows to rewind corrupted pool to earlier transaction group. - Possibility to import pool in read-only mode. MFC after: 1 month
* Regenerate clang and tblgen manpages; the clang manpage has some minordim2011-02-272-5/+8
| | | | updates.
* Not only had I included a syntax / style error, nice.3 is alsoremko2011-02-261-1/+0
| | | | deprecated.
* Update manual page to reflect latest changes of ABI description support.dchagin2011-02-251-1/+3
| | | | MFC after: 1 Month.
* Teach kdump to understand sv_flags records in the trace files.dchagin2011-02-253-17/+128
| | | | MFC after: 1 Month.
* Revert the commit that I made, there is a lot of discussionremko2011-02-251-5/+0
| | | | | | and it's not accurate anyway Requested by: jb, bde
* Document the input line length limit.jh2011-02-251-1/+6
| | | | Submitted by: Dominic Fandrey (original version)
* Add the BSD-licensed Citrus iconv to the base system with default offgabor2011-02-2518-0/+1945
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
* Add wording about the priority range andremko2011-02-241-1/+7
| | | | | | | | | mention what effect this has at certain values. PR: 124469 Obtained from: NetBSD nice.1 v1.14 MFC after: 1 week
* Fix typos - remove duplicate "is".brucec2011-02-231-1/+1
| | | | | | PR: docs/154934 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Flesh out WITHOUT_GROFF support to DTRT.uqs2011-02-221-2/+4
| | | | | | | | | | | | A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
* Teach tools/install.sh the -d directory mode.uqs2011-02-221-2/+2
| | | | | | | | Sync up with flags understood by install(1) [1], and make install(1)'s usage output not hide the clearly documented -M flag. PR: misc/154739 [1] Submitted by: arundel
* Fix typos - remove duplicate "the".brucec2011-02-215-5/+5
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Upgrade our copy of llvm/clang to r126079, from upstream's trunk.dim2011-02-202-8/+12
| | | | | This contains many improvements, primarily better C++ support, an integrated assembler for x86 and support for -pg.
* Replace hard-coded value by Julian2Gregorian converter function.osa2011-02-182-1/+11
|
* Fix the beginning day of the Great Lent, it starts on Monday for 7 weeks ↵osa2011-02-171-2/+6
| | | | | | | before Paskha. Fix the Exaltation of the Holy Cross day. Add more Twelve holidays (dvunadesyatye prazdniki).
* Properly check for errors from waitpid().jhb2011-02-151-4/+4
| | | | | Submitted by: gcooper MFC after: 1 week
* Synthesize the change from NetBSD's 1.33:dougb2011-02-111-1/+5
| | | | | | | "Do not crash if a date cannot be represented (localtime returning NULL), use the Epoch value instead." Obtained from: njoly@NetBSD.org
* Always convert Paskha day from Julian (old) to Gregorian (new) style byosa2011-02-091-2/+2
| | | | adding 13 days. Bug introduced in 1.13 revision.
* Fix Paskha and Paskha-specific holidays.osa2011-02-091-0/+1
|
* Update manpage to remove CRT reference.gjb2011-02-071-2/+2
| | | | | | | | PR: 154441 Submitted by: Ben Haga (bhaga of absoludicrous com) Suggestion by: pluknet Approved by: keramida (mentor) MFC after: 3 days
* - Use LINE_MAX from limits.h as the maximum line length instead ofjh2011-02-071-6/+12
| | | | | | | | | BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE). - Error out if we encounter a line longer than LINE_MAX. The previous behavior was to silently split long lines and produce corrupted output. PR: bin/151384
* Handle EOF when skipping lines.jh2011-02-071-1/+4
|
* Make sys_signame upper case.jilles2011-02-042-2/+2
| | | | | | | | | | | | This matches the constants from <signal.h> with 'SIG' removed, which POSIX requires kill and trap to accept and 'kill -l' to write. 'kill -l', 'trap', 'trap -l' output is now upper case. In Turkish locales, signal names with an upper case 'I' are now accepted, while signal names with a lower case 'i' are no longer accepted, and the output of 'killall -l' now contains proper capital 'I' without dot instead of a dotted capital 'I'.
* Fix typo in example getopt(1) script: $i vs $1 [1]uqs2011-01-261-17/+17
| | | | | | | | While here apply style hammer. PR: docs/154289 [1] Submitted by: Jamie Landeg Jones <jamie@bishopston.net> MFC after: 1 week
* Add -H flag to print thread id.dchagin2011-01-262-3/+15
|
* Remove dead code.jhb2011-01-251-1/+0
| | | | MFC after: 2 weeks
* Use test(1) operators and test for the catpage not being older than theuqs2011-01-251-2/+2
| | | | | | | | | manpage. Identical mtimes (as generated by buildworld for these files) precluded catpages from working. Approved by: gordon
* While printing out the WSID and CPU ID only the first time it appears forrwatson2011-01-241-8/+2
| | | | | | | | | | each workstream, rather than on every protocol, is prettier, it makes machine-parsing of netstat -Q output a lot harder. Repeat the information and hope that the user forgives us slightly dense formatting. MFC after: 3 days Reported by: bz Sponsored by: Juniper Networks
* Fix off-by-one whitespace error in netstat -Q workstream listing.rwatson2011-01-241-4/+4
| | | | | | Reported by: bz MFC after: 3 days Sponsored by: Juniper Networks
* Touch up the sample memory usage numbers a bit, to avoid wrappingkeramida2011-01-231-3/+6
| | | | | | | | | on terminal boundary. While here add definition for 'G' and fix the indentation of 'K' units. Submitted by: plunket PR: docs/153614 MFC after: 3 days
* Update to upstrea version 2.5.6.fanf2011-01-211-16/+25
| | | | | | | Detect IO errors properly. Write #line directives to the correct output stream. Obtained from: http://dotat.at/prog/unifdef
* - Hide the internal scope address representation of the KAME IPv6ume2011-01-203-22/+36
| | | | | | | | stack from the output of `netstat -ani'. - The node-local multicast address in the output of `netstat -rn' should be handled as well. Spotted by: Bernd Walter <ticso__at__cicely7.cicely.de>
* Update to upstream version 2.3fanf2011-01-181-15/+10
| | | | | | | Only significant change is to fix a bu when the output file overwrites the input when the input is redirected. Obtained from: http://dotat.at/prog/unifdef
* Add two more features to cpuset(1):jhb2011-01-142-5/+43
| | | | | | | | | - Add a new -C flag to create a new cpuset and move an existing pid into that set. - Allow 'all' to be specified for a cpu list (e.g. cpuset -s 1 -l all) which maps to the list of all CPUs in the system. MFC after: 2 weeks
* sed: Try hard links to make -i target available continually.jilles2011-01-081-4/+21
| | | | | | | | | | | | | | | | | | | | | When creating a backup file, sed renamed the original before renaming the changed copy into place, leading to a short time when no file with the original name was present (usually only visible on SMP systems). Try creating the backup file using a hard link instead, avoiding this problem. If creating the hard link fails for any reason, fall back to the old rename method. When not creating a backup file, sed already renamed the changed copy onto the original. This remains unchanged. I am not adding the suppression of redundant fchown/fchmod to this commit, because FreeBSD appears to check this in the kernel (for msdosfs at least). PR: bin/153261 Submitted by: Pedro F. Giffuni Reviewed by: dds (older version) Obtained from: Illumos MFC after: 2 weeks
* Retire TARGET_ABI.imp2011-01-071-1/+1
| | | | | | | | | | | | | | | Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces MACHINE_ARCH=mipse[lb] TARGET_ABI=n64. MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated this much, but implemented this to preserve as much of the TARGET_ABI functionality that I could. Since its presence doesn't affect the working cases, I've kept it in for now. Added mips64e[lb] to make universe, so more kernels build. And I think this (finally) closes the curtain on the tbemd tree.
* Fix typo: March -> September.osa2011-01-051-1/+1
|
* Add myself.jpaetzel2011-01-021-0/+1
|
* printf: Do not use sh memory functions in sh builtin.jilles2010-12-291-13/+0
| | | | | | These functions throw exceptions if they fail, possibly causing memory leaks. The normal out-of-memory handling suffices. The INTOFF around almost all of printf prevents memory leaks due to SIGINT.
* Start sentences on a new line to ease life for translators. Tweak thejhb2010-12-281-7/+8
| | | | | | wording in a few places. MFC after: 1 week
* Revert most of r210764, now that mdocml does the rightuqs2010-12-283-6/+6
| | | | | | thing with empty quotation macros. Requested by: Alex Kozlov
* Fix style bug introduced in r216696.ed2010-12-271-1/+2
| | | | Additional indentation caused the line to become longer than 80 columns.
OpenPOWER on IntegriCloud