aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* efidp manipulates UEFI Device Paths in various ways. At the moment, itWarner Losh2017-03-095-1/+229
| | | | | | | | | | formats and parses UEFI standard Device Paths. In the future it will also translate between FreeBSD driver names and UEFI Device Paths. Sponsored by: Netflix Notes: svn path=/head/; revision=314928
* Finish implementing -d/--device/--device-path flag to print variableWarner Losh2017-03-092-16/+37
| | | | | | | | | | | | | | | as if it were a device path. Remove language about a=b syntax on the command line. This will not be implemented due to its limited usefulness. UEFI variables are binary blobs, on the whole, and a simple work around exists for strings. Clarify that the new value of the variable is taken from stdin. Update manual with history. Sponsored by: Netflix Notes: svn path=/head/; revision=314927
* Remove extraneous arguments and options, which don't make sense forCy Schubert2017-03-081-4/+0
| | | | | | | | | a file documented in volume 5. MFC after: 3 days Notes: svn path=/head/; revision=314896
* lpr(1): small bounds check with reallocarray(3).Pedro F. Giffuni2017-03-071-4/+6
| | | | | | | | | | | | While here plug a memory leak upon error and postpose a multiplication until after reallocation has succeded. Hinted partially by: OpenBSD Reviewed by: gad MFC after: 2 weeks Notes: svn path=/head/; revision=314877
* Convert absolute links to relative links.Rodney W. Grimes2017-03-073-9/+9
| | | | | | | | | | Style.Makefile(9) has been ignored to produce minimal diffs. Approved by: grehan (mentor) MFC after: 1 week Notes: svn path=/head/; revision=314833
* mergemaster: fix description of -pEnji Cooper2017-03-071-4/+5
| | | | | | | | | | | | | | | | -p only handles updating /etc/master.passwd and /etc/group . No more, no less. Also, mergemaster (and no other portions of the vanilla FreeBSD build process) should be messing with __MAKECONF or SRCCONF as part of the installworld or distribution process. Don't insinuate that mergemaster does that as it's a false claim. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314830
* Fix some trivial manlint warningsEnji Cooper2017-03-061-5/+9
| | | | | | | | | | | | | | Sentences should begin on new lines, per manlint. Bump .Dd for the change MFC after: 1 month Reviewed by: bcr Reported by: make manlint Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314785
* Fix mismerge of r280849.Cy Schubert2017-03-061-4/+0
| | | | | | | | Reported by: des MFC after: 3 days Notes: svn path=/head/; revision=314768
* Change /etc/rmt symlink from absolute to relative path,Rodney W. Grimes2017-03-051-1/+1
| | | | | | | | | | correcting the mistake made in r6499 Approved by: grehan MFC after: 1 week Notes: svn path=/head/; revision=314693
* Fix build after r314656Enji Cooper2017-03-042-1/+3
| | | | | | | | | | | | | | | | | | | | | Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated. Reminder: thou shalt separate out separate functional changes before committing them. (YUGE) Pointyhat to: ngie In collaboration with: bdrewery MFC after: 1 month Reported by: Jenkins, cy, ler, O. Hartmann, Michael Butler Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314676
* usr.sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-0467-117/+116
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314659
* Correct nuance of -a :service -> "*" in r314563, r314585Enji Cooper2017-03-041-2/+2
| | | | | | | | | | | | | | | | | My attempt to correct the sender/receiver behavior was incorrect. The source port of the sender for forwarded datagrams is filtered with -a, and my change in r314585 didn't clarify that point at all. Wording is based on suggestion by hrs. MFC after: 28 days X-MFC with: r314563, r314585 Reported by: hrs In collaboration with: hrs, rgrimes Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314642
* If the guid specified can't be decoded as a GUID, try looking it up inWarner Losh2017-03-031-1/+1
| | | | | | | | | the known guid to name table. Sponsored by: Netflix Notes: svn path=/head/; revision=314621
* Implement -d / --device-path to print the ascii representation of a variable ↵Warner Losh2017-03-031-0/+11
| | | | | | | | | that contains a UEFI device path. Sponsored by: Netflix Notes: svn path=/head/; revision=314620
* Implement --guid/-g to print the known GUIDs as human readable. TheWarner Losh2017-03-032-3/+27
| | | | | | | | | list of known GUIDs can be found with --list-guids. Sponsored by: Netflix Notes: svn path=/head/; revision=314619
* Actually implement efivar -LWarner Losh2017-03-031-0/+13
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=314618
* Print just the variables when we're not printing the values.Warner Losh2017-03-031-0/+2
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=314617
* Merge ACPICA 20170303.Jung-uk Kim2017-03-031-3/+4
| | | | Notes: svn path=/head/; revision=314611
* Correct verb change for service => `*` after r314563Enji Cooper2017-03-031-1/+1
| | | | | | | | | | | | | `*` means that packets will be received from a remote peer on any port. Since the point of interest is the syslogd instance (not the remote peer), the appropriate verb is "received", not "sent". MFC after: 1 month X-MFC with: r314563 Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314585
* Add cxgbetool(8) to the base system.Navdeep Parhar2017-03-039-0/+166406
| | | | | | | | | | | | | | | Move cxgbetool from tools/tools to usr.sbin. Compile and install it on platforms where cxgbe(4) is built by default. Knobs (WITH_CXGBETOOL and WITHOUT_CXGBETOOL) have been added so that the user can override the default setting. Reviewed by: ngie@, gnn@, bdrewery@ MFC after: 1 month Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D9854 Notes: svn path=/head/; revision=314579
* Wordsmith syslogd(8)Enji Cooper2017-03-021-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Clarify -p/-S options by using appropriate subject-verb modifiers (verb and modifiers suggested that the subject should have been singular). - Simplify/correct -a description: -- Be more terse when describing IPv4 (the "usual dotted notation" isn't necessarily well understood by the reader). Being blunt and saying "IPv4 address" with an optional netmask is. -- prefixlen is the appropriate terminology for IPv6. -- mask/prefixlen is optional, not required (as noted later on in the section). -- split up IPv4/IPv6 use so to clarify both forms. -- Fix wordiness when describing the optional "service" specifier. - -T: Use "cannot" instead of "can't" [*]. Bump .Dd for the changes. MFC after: 1 month Reported by: igor [*] Reviewed by: hrs Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D9855 Notes: svn path=/head/; revision=314563
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-027-11/+11
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314541
* makefs: remove clause 3 & 4 from Manuel Bouyer licenseEd Maste2017-03-022-10/+0
| | | | | | | | | | | ffs_bswap.c 1.34 ufs_bswap.h 1.34 Obtained from: NetBSD Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=314537
* makefs: remove archaic __P prototypes from ufs_bswap.hEd Maste2017-03-021-4/+0
| | | | | | | | | This reduces differences with NetBSD Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=314536
* Use :H to manipulate .CURDIR-relative paths instead of ../Enji Cooper2017-03-013-3/+3
| | | | | | | | | | This simplifies make output MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314479
* Simplify idioms in Makefiles furtherEnji Cooper2017-03-014-13/+13
| | | | | | | | | | | - Use SRCTOP-relative paths instead of .CURDIR-relative ones where possible - Use :H to manipulate .CURDIR in areas instead of ..-relative paths. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314478
* Simplify idioms in usr.sbin/lpr MakefilesEnji Cooper2017-03-0111-16/+16
| | | | | | | | | | Use :H instead of .CURDIR-relative pathing to simplify make output, etc. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314475
* Simplify/improve idioms in usr.sbin/ntp MakefilesEnji Cooper2017-03-0119-91/+88
| | | | | | | | | | | | | | | - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones. This simplifies pathing in make/displayed output. - Also, use :H where possible/sensical to manipulate .CURDIR-relative paths - Remove superfluous bsd.own.mk .includes which are already handled via src.opts.mk .includes MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314472
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-014-9/+9
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314470
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-013-5/+5
| | | | | | | | | | | | Also, use :H where possible/sensical to manipulate .CURDIR-relative paths This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314468
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-3/+2
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314466
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-4/+3
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314464
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-1/+1
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314463
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-4/+4
| | | | | | | | | | | | | The SRCTOP conversion simplifies pathing in make/displayed output. Also, while here, change a hardcoded path to ${RPCDIR}/ypxfrd.x in the make targets with ${.ALLSRC} . MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314462
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-1/+1
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314461
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-2/+2
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314460
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-012-2/+2
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314459
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-012-2/+2
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314458
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-4/+4
| | | | | | | | | | | | | The SRCTOP conversion simplifies pathing in make/displayed output. Also, while here, change a hardcoded path to ${RPCDIR}/ypupdate_prot.x in the make targets with ${.ALLSRC} . MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314457
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-5/+5
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314456
* Use .ALLSRC instead of RPCSRCEnji Cooper2017-03-011-2/+2
| | | | | | | | | | | This is a trivial simplification in the Makefile, meant to serve as a good example for what to do with rules like this. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314455
* Use .ALLSRC instead of RPCSRCEnji Cooper2017-03-011-2/+2
| | | | | | | | | | | This is a trivial simplification in the Makefile, meant to serve as a good example for what to do with rules like this. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314454
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-2/+2
| | | | | | | | MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314453
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-9/+9
| | | | | | | | MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314452
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-2/+2
| | | | | | | | | | | | | The SRCTOP conversion simplifies pathing in make/displayed output. Also, while here, change a hardcoded path to ar5523.bin.uu in the make target with ${.ALLSRC} . MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314451
* Renumber copyright clause 4Warner Losh2017-02-28118-118/+118
| | | | | | | | | | | | Renumber cluase 4 to 3, per what everybody else did when BSD granted them permission to remove clause 3. My insistance on keeping the same numbering for legal reasons is too pedantic, so give up on that point. Submitted by: Jan Schaumann <jschauma@stevens.edu> Pull Request: https://github.com/freebsd/freebsd/pull/96 Notes: svn path=/head/; revision=314436
* Remove SVR4 (System V Release 4) binary compatibility support.Gleb Smirnoff2017-02-282-19/+0
| | | | | | | | UNIX System V Release 4 is operating system released in 1988. It ceased to exist in early 2000-s. Notes: svn path=/head/; revision=314373
* bhyve: document virtio-console in the manpageRoman Bogorodskiy2017-02-271-1/+30
| | | | | | | | | Reviewed by: bcr, wblock, jceel Approved by: grehan Differential Revision: https://reviews.freebsd.org/D9564 Notes: svn path=/head/; revision=314342
* Parameterize out the length of struct filed->f_lasttime as `MAXDATELEN`Enji Cooper2017-02-251-4/+6
| | | | | | | | | | | | | | | | This removes the hardcoded value for the field (16) and the equivalent hardcoded lengths in logmsg(..). This change is being done to help stage future work to add RFC5424/RFC5434 support to syslogd(8). Obtained from: Isilon OneFS (dcd33d13da) (as part of a larger change) Submitted by: John Bauman <john.bauman@isilon.com> MFC after: 2 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314233
* Exit when we can't print a variable.Warner Losh2017-02-251-11/+10
| | | | | | | | | | | | Exit after printing a message on stderr when we can't get a message. This is slightly different than linux, but keeps shell scripts from thinking the value of the variable is the error message and so is a net win. Sponsored by: Netflix Notes: svn path=/head/; revision=314232