summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix getopt(3) argument after r290180; I forgot to change -r to -Rngie2015-12-291-1/+1
| | | | | | | | | by accident MFC after: 3 days Pointyhat to: ngie Reported by: vangyzen Sponsored by: EMC / Isilon Storage Division
* Fix type mismatches for malloc(3) and Co.uqs2015-12-295-6/+6
| | | | | | | | | This is rather pedantic, as for most architectures it holds that sizeof(type *) == sizeof(type **) Found by: clang static analyzer Reviewed by: ed Differential Revision: https://reviews.freebsd.org/D4722
* Simplify code for parsing extra groupsbapt2015-12-291-1/+1
|
* Remove useless assignement of linelenbapt2015-12-291-2/+0
|
* Restore dryrun support for pw groupmodbapt2015-12-281-0/+5
|
* Explicitly set permissions on entropy filesdteske2015-12-281-1/+6
| | | | | | | | | Differential Revision: https://reviews.freebsd.org/D3933 Submitted by: jmg Reviewed by: delphij, markm Approved by: secteam (delphij) MFC after: 3 days X-MFC-to: stable/10 stable/9
* Eliminate unneeded includes.delphij2015-12-282-3/+0
| | | | | Reviewed by: allanjude Differential Revision: https://reviews.freebsd.org/D4716
* The sdp opens the database with PERM_SECURE mode and it is different thanaraujo2015-12-281-1/+1
| | | | | | | | | | dp that opens the database with PERM_INSECURE, so we need to check sdp->put against sdp instead of use dp->put. PR: bin/191720 Submitted by: Miles Ohlrich <turingsboy@yahoo.com> Approved by: rodrigc (mentor) Differential Revision: https://reviews.freebsd.org/D4255
* Fix includes in usr.sbin/fstyp/zfs.callanjude2015-12-262-2/+5
| | | | | | | Approved by: bapt (mentor) MFC after: 1 week Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D4710
* camadd does not require linking to libsbuf or libbsdxml directlybapt2015-12-241-1/+1
|
* Undo change from r292607 that was not meant to be therepfg2015-12-221-1/+1
| | | | Pointyhat: me
* cron: Check the return value of pipe(2)pfg2015-12-221-3/+5
| | | | | Fix inspired by: OpenBSD (rev 1.56) CID: 1009830
* crontab: properly free an entrypfg2015-12-221-1/+1
| | | | | | | This should close memory leak. Obtained from: OpenBSD (rev. 1.62) CID: 271773
* crontab: replace malloc + bzero with callocpfg2015-12-221-2/+1
| | | | Obtained from: OpenBSD (Rev 1.20)
* Prevent use-after-free with ctx->ns in set_nameservers(..), which could occurngie2015-12-221-0/+1
| | | | | | | | | if the memory wasn't allocated again later on Reported by: Coverity Submitted by: Miles Ohlrich <miles.ohlrich@isilon.com> MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Add libxo support to jlsrodrigc2015-12-223-71/+120
| | | | | | | | PR: 200746 Submitted by: Emmanuel Vadot <manu bidouilliste com> Reviewed by: allanjude Relnotes: yes Differential Revision: https://reviews.freebsd.org/D4452
* Make the building of libsmb and mount_smbfs unconditional, now that r292552ian2015-12-216-5/+1
| | | | | | | | has eliminated alignment and endian problems that were making it fail on some platforms. PR: 180438 PR: 189415
* makefs: use ENTRY macro for diff reduction with NetBSDemaste2015-12-211-3/+6
| | | | Sponsored by: The FreeBSD Foundation
* Fix indent after r292333.ume2015-12-191-16/+16
|
* Fix the precious change to check the pointer returned by malloc().jhb2015-12-181-1/+1
| | | | | Submitted by: luke <luke.tw@gmail.com> Pointy hat to: jhb
* Generate ipnodes.by{addr,name} from /etc/hosts for compatibility withume2015-12-181-12/+5
| | | | | | | | | FreeBSD local name resolution. If /var/yp/ipnodes exists, we generate them from it for backward compatibility. Inspired by: NetBSD MFC after: 1 week
* - Keep hosts.by{name,addr} IPv4 only.ume2015-12-181-2/+13
| | | | | | - Add comment how we handle hosts and ipnodes. (from NetBSD) MFC after: 1 week.
* Exit cleanly if malloc() fails to allocate a buffer for a copy of thejhb2015-12-171-0/+2
| | | | | | | | current MBR. PR: 205322 Submitted by: Alexander Kuleshov <kuleshovmail@gmail.com> MFC after: 1 week
* Build mount_smbfs for arm. Also sort the subdirs.ian2015-12-161-1/+2
|
* Provide additional lle data in IPv6 lltable dump used by ndp(8).melifaro2015-12-161-42/+36
| | | | | | | | | | | | | | | Before the change, things like lle state were queried via SIOCGNBRINFO_IN6 by ndp(8) for _each_ lle entry in dump. This ioctl was added in 1999, probably to avoid touching rtsock code. This change maps SIOCGNBRINFO_IN6 data to standard rtsock dump the following way: expire (already) maps to rtm_rmx.rmx_expire isrouter -> rtm_flags & RTF_GATEWAY asked -> rtm_rmx.rmx_pksent state -> rtm_rmx.rmx_state (maps to rmx_weight via define) Reviewed by: ae
* Remove a garbage printf used for debug.araujo2015-12-151-3/+1
| | | | Approved by: bapt (mentor implicit)
* Remove the null checker before free.araujo2015-12-151-2/+1
| | | | | | Approved by: bapt (mentor) Obtained from: OpenBSD Differential Revision: https://reviews.freebsd.org/D4549
* Remove wrong header and the NULL check before free().araujo2015-12-151-3/+1
| | | | | | Approved by: bapt (mentor) Obtained from: OpenBSD Differential Revision: https://reviews.freebsd.org/D4548
* EAGAIN handling for imsg_read.araujo2015-12-153-5/+7
| | | | | | Approved by: bapt (mentor) Obtained from: OpenBSD Differential Revision: https://reviews.freebsd.org/D4547
* Show the enclosure name and id in sesutil mapbapt2015-12-151-0/+11
| | | | Sponsored by: Gandi.net
* Flesh out the SEE ALSO section.brueffer2015-12-141-1/+12
| | | | | | PR: 202929 Submitted by: jhs@berklix.com MFC after: 1 week
* Fix sesutil locate when a sesid is passed to locate commandbapt2015-12-111-1/+1
|
* sesutil: Add extra information specific to some SES devices to sesutil mapbapt2015-12-114-21/+76
| | | | | | | | | | | | | | | | | | Rework stat2ascii preparing a buffer of what could be printed. This prevent the risk of overflowing a static buffer. Do not print those informations anymore in the "status" but into a new "extra status" only printed if there are actually extra things to print. Now add those extra informations: * Thermal sensor temperature * Cooling devices speed * Voltage sensors, current consumption Tested by: AllanJude Sponsored by: Gandi.net Differential Revision: https://reviews.freebsd.org/D4520
* crunchide: add RISC-V to supported machine typesemaste2015-12-111-0/+4
| | | | | MFC after: 1 week Sponsored by: The FreeBSD Foundation
* sesutils, pass the correct element type when printing the status of a givenbapt2015-12-111-1/+1
| | | | | | element of the ses. Sponsored by: Gandi.net
* sesutil: fix map not printing the status of the LED device in an arraybapt2015-12-111-4/+4
| | | | Sponsored by: Gandi.net
* Augment kldxref to find the new MODULE_PNP_INFO records now inimp2015-12-111-3/+344
| | | | | | | modules, simplify them into a more normal form and write them to linker.hints. Differential Review: https://reviews.freebsd.org/D3461
* Fix several typos and bugs within pmcstudy. Also highlight the one SB testrrs2015-12-102-672/+722
| | | | | | | that is failing (and is likely a problem in the actual PMC defintions). Add to this also the -A option to run all canned tests. Sponsored by: Netflix Inc.
* Update the manual page to include Broadwell.rrs2015-12-091-2/+2
|
* White space changes.rrs2015-12-091-559/+642
|
* Proper support of Broadwell tool by the pmc_study based on therrs2015-12-091-6/+391
| | | | | | | | Intel Itune guide for 5th generation processors. There is at least one formula missing in that guide, which I extrapolated and put a ? by in the help. Sponsored by: Netflix Inc
* When iostat(8) receives SIGINT while running with "-w" or "-c", it will nowasomers2015-12-091-2/+57
| | | | | | | | | | print statistics one more time before exiting. Also, it now implements the wait using setitimer instead of sleep, so the waits will be more consistent when the system is heavily loaded. MFC after: 4 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D4473
* DIRDEPS_BUILD: Update dependencies.bdrewery2015-12-071-0/+3
| | | | Sponsored by: EMC / Isilon Storage Division
* Adapt to new wireless scheme where base wlan interfaces do not show up innwhitehorn2015-12-061-8/+13
| | | | ifconfig anymore.
* Fix LDADD/DPADD that should be LIBADD.bdrewery2015-12-041-2/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* For INTERNALLIB always add in the corresponding _DP_ and use LIBADD inbdrewery2015-12-041-0/+1
| | | | | | | | | the real build file. This lessens the need to define DPADD_<lib> and LDADD_<lib> to just very special cases. Sponsored by: EMC / Isilon Storage Division
* Fix typos in the camdd(8) usage() function output caused by an error inken2015-12-031-1/+1
| | | | | | | my diff filter script. Sponsored by: Spectra Logic MFC after: 1 week
* Convert to LIBADDbdrewery2015-12-031-2/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Use proper LIBADD.bdrewery2015-12-031-2/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Connect usr.sbin/camddbdrewery2015-12-031-0/+25
| | | | Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud