summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Correct my name in the copyright statement.des2012-04-152-2/+2
|
* Improve m4 compatibility with GNU m4 extension ** (exponent)bapt2012-04-153-3/+7
| | | | | Submitted by: Marc Espie (espie@OpenBSD.org) Approved by: des@ (mentor)
* Eliminate an unused parameter of static method igmp_stats_live_old().delphij2012-04-131-2/+2
| | | | MFC after: 1 month
* Belatedly add my entry to the calendar file, now that 30 is here and gone.gjb2012-04-131-0/+1
|
* Partially implement zipinfo (-Z) support.kevlo2012-04-131-38/+71
| | | | | | | | This fixes some test failures seen with perl 5.12 and 5.14. PR: bin/166895 Submitted by: swills MFC after: 3 days
* Parenthesize args in yyless() and unput() replacement textschweikh2012-04-101-3/+3
| | | | | | so they are safer when used with expressions. MFC after: 1 week
* Since truss also uses kdump's mkioctls script, pass the value of ${CPP}dim2012-04-091-1/+1
| | | | | | there too, similar to r234058. MFC after: 1 week
* In kdump's mkioctls script, use '${CPP}' instead of hardcodedly usingdim2012-04-092-2/+2
| | | | | | | 'gcc -E'. This fixes building when WITH_CLANG_IS_CC is in effect. Report by: Niclas Zeising <zeising@daemonic.se> MFC after: 1 week
* mdoc: fix column names, indentation, column separation within each row, andjoel2012-04-072-8/+8
| | | | | | | quotation. Also make sure we have the same amount of columns in each row as the number of columns we specify in the head arguments. Reviewed by: brueffer
* Add new ktrace records for the start and end of VM faults. This givesjhb2012-04-056-4/+68
| | | | | | | | | | a pair of records similar to syscall entry and return that a user can use to determine how long page faults take. The new ktrace records are enabled via the 'p' trace type, and are enabled in the default set of trace points. Reviewed by: kib MFC after: 2 weeks
* With pf 4.5 import the name of pfsync stats sysctl has changed, thusglebius2012-04-041-2/+2
| | | | 'netstat -sp pfsync' got broken. Fix this.
* Export some more useful info about shared memory objects to userlandjhb2012-04-012-8/+31
| | | | | | | | | | | | | | | | | | | via procstat(1) and fstat(1): - Change shm file descriptors to track the pathname they are associated with and add a shm_path() method to copy the path out to a caller-supplied buffer. - Use the fo_stat() method of shared memory objects and shm_path() to export the path, mode, and size of a shared memory object via struct kinfo_file. - Add a struct shmstat to the libprocstat(3) interface along with a procstat_get_shm_info() to export the mode and size of a shared memory object. - Change procstat to always print out the path for a given object if it is valid. - Teach fstat about shared memory objects and to display their path, mode, and size. MFC after: 2 weeks
* Remove superfluous paragraph macro.joel2012-03-291-2/+0
|
* mandoc complains loudly when <TAB>s are misused in columnated lists. Fixjoel2012-03-291-23/+23
| | | | | this syntax violation and while I'm here also convert <TAB> to Ta and adjust quotation marks in order to prevent this problem in the future.
* Remove trailing whitespace per mdoc lint warningeadler2012-03-2917-60/+60
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-03-291-1/+1
| | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile.
* Only use macros inside a reference block.joel2012-03-271-10/+5
| | | | Discussed with: brueffer
* mdoc: sort prologue macros.joel2012-03-261-1/+1
|
* mdoc: terminate quoted strings.joel2012-03-265-56/+56
| | | | Reviewed by: brueffer
* mdoc: document title should be all caps.joel2012-03-251-1/+1
|
* Remove superfluous paragraph macro.joel2012-03-2510-13/+0
|
* When displaying binary information show also osreldate.trociny2012-03-232-3/+17
| | | | | Suggested by: kib MFC after: 2 weeks
* - Do not build libcom_err and compile_et when kerberos is disabled. Theystas2012-03-231-1/+4
| | | | | depends on several heimdal libraries and not used by anything but kerberos tools.
* Garbage collect defunct nlist(3) symbols.pluknet2012-03-221-14/+8
| | | | MFC after: 1 week
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-03-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
* Add multibyte char support.glebius2012-03-212-53/+35
| | | | | PR: 165429 Submitted by: amdmi3
* Repair function when used with large scaleskevlo2012-03-181-2/+3
| | | | Submitted by: AIDA Shinra <shinra at j10n dot org>
* xargs: Before exiting, wait for all invocations of the utility.jilles2012-03-162-45/+81
| | | | | | | This only has an effect with -P, otherwise errors are only detected when the utility is not running. Submitted by: Matthew Story
* - Fix an erroneous invocation of the editline.kevlo2012-03-153-22/+33
| | | | | | | | - Fix wrong scaling in the bc.library. - Let length(0.000) conform to what gnu bc does. PR: bin/159227 Submitted by: AIDA Shinra <shinra at j10n dot org>
* After r232745, which makes sure __bswap16(), ntohs() and htons() returndim2012-03-091-3/+0
| | | | | | | | | | | | | __uint16_t, we can partially undo r228668. Note the remark "Work around a clang false positive with format string warnings and ntohs macros (see LLVM PR 11313)" was actually incorrect. Before r232745, on some arches, the ntohs() macros did in fact return int, not uint16_t, so clang was right in warning about the %hu format string. MFC after: 2 weeks
* Document the [n]eei and [n]bacc optionseadler2012-03-031-1/+23
| | | | | | | PR: docs/165009 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> Approved by: bcr MFC after: 1 week
* Replace the three spaces with one tag.davide2012-03-011-1/+1
| | | | | Reported by: pjd Approved by: gnn (mentor)
* Use proper "maxproc" name, not "nproc".trasz2012-03-011-3/+3
| | | | PR: docs/162172
* Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, thatdim2012-02-291-0/+8
| | | | | | | | | | installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp. Note this does *not* disable building and installing gcc, which will still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If you want to disable gcc completely, you must use WITHOUT_GCC. MFC after: 2 weeks
* Use srandom() to init the PRNG, not srand(), since we use random().cognet2012-02-291-1/+1
| | | | | | | | | | This is harmless because srandom() is called somewhere else, with time(NULL) as a seed, but this is more correct. Obtained from: https://bitbucket.org/mux/csup Pointyhat to: not mux, somebody else MFC after: 1 week
* Update the description for -s flag after r232182.pluknet2012-02-291-1/+3
| | | | | | When displaying security credential information show also process umask. X-MFC-with: r232182
* Document the 'URL' argument.obrien2012-02-281-2/+7
|
* Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, todim2012-02-282-6/+2
| | | | | | | | | | | | | | | | | | | | | get rid of testing explicitly for clang (using ${CC:T:Mclang}) in individual Makefiles. Instead, use the following extra macros, for use with clang: - NO_WERROR.clang (disables -Werror) - NO_WCAST_ALIGN.clang (disables -Wcast-align) - NO_WFORMAT.clang (disables -Wformat and friends) - CLANG_NO_IAS (disables integrated assembler) - CLANG_OPT_SMALL (adds flags for extra small size optimizations) As a side effect, this enables setting CC/CXX/CPP in src.conf instead of make.conf! For clang, use the following: CC=clang CXX=clang++ CPP=clang-cpp MFC after: 2 weeks
* Backout r230934 which didn't work with unix sockets andpluknet2012-02-271-34/+8
| | | | | | several filesystem layers mounted at the specified path. Pointy hat to: pluknet
* xargs: Remove an unclear comment that only tried to repeat what the code didjilles2012-02-261-4/+0
| | | | Reported by: bde
* xargs: Fix comma splice in error message.jilles2012-02-261-2/+2
| | | | Reported by: bde
* When displaying security credential information show also process umask.trociny2012-02-261-3/+29
| | | | | | Submitted by: Dmitry Banschikov <me ubique spb ru> Discussed with: rwatson MFC after: 2 weeks
* Update libarchive to 3.0.3mm2012-02-257-147/+33
| | | | | | | | | | | | | | Some of new features: - New readers: RAR, LHA/LZH, CAB reader, 7-Zip - New writers: ISO9660, XAR - Improvements to many formats, especially including ISO9660 and Zip - Stackable write filters to write, e.g., tar.gz.uu in a single pass - Exploit seekable input; new "seekable" Zip reader can exploit the Zip Central Directory when it's available; the old "streamable" Zip reader is still fully supported for cases where seeking is not possible. Full release notes available at: https://github.com/libarchive/libarchive/wiki/ReleaseNotes
* Fix style in previous commit.jhb2012-02-241-3/+3
| | | | Submitted by: bde
* xargs: If a utility exits with 255 or a signal, write an error message.jilles2012-02-241-4/+7
| | | | | | | | If a utility called by xargs exits with status 255 or because of a signal, POSIX requires writing an error message. PR: 165155 Submitted by: Matthew Story matthewstory gmail com
* Add underscore symbol to the end of definition stringsosa2012-02-243-9/+9
| | | | | | | to keep all calendar files are consistency. Approved by: edwin MFC after: 1 week
* Pretty-print the advice constants passed to posix_fadvise(2).jhb2012-02-232-0/+10
| | | | MFC after: 2 weeks
* Add pt_BR.ISO8859-1 and pt_BR.UTF-8 directories to install.osa2012-02-231-1/+2
| | | | | | | It was forgotten in r219937 commit. Approved by: edwin MFC after: 1 week
* o Use ISO 3166 county code for Sweden.maxim2012-02-221-1/+1
| | | | | | PR: standards/165400 Submitted by: Carsten Hey MFC after: 1 week
* Handle NULL return from crypt(3). Mostly from DragonFlykevlo2012-02-224-7/+20
|
OpenPOWER on IntegriCloud