summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
| * Remove superfluous paragraph macro.joel2012-11-181-1/+0
| |
| * Make it possible to resize filesystems mounted read-write, using newlytrasz2012-11-182-7/+29
| | | | | | | | | | | | | | introduced UFS write suspension mechanism. Reviewed by: kib, mckusick Sponsored by: FreeBSD Foundation
| * Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel tohrs2012-11-172-75/+2
| | | | | | | | | | | | | | | | | | | | | | | | userland via routing socket or sysctl. This eliminates the following KAME-specific sin6_scope_id handling routine from each userland utility: sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]); This behavior can be controlled by net.inet6.ip6.deembed_scopeid. This is set to 1 by default (sin6_scope_id will be filled in the kernel). Reviewed by: bz
| * Add -fib modifier to specify FIB number. The FIB number can be in ahrs2012-11-173-114/+440
| | | | | | | | | | | | | | | | | | | | | | comma-separated list and/or range specification: # route add -inet 192.0.2.0/24 198.51.100.1 -fib 1,3-5,6 Although all of the subcommands supports the modifier, "monitor" does not support the list or range specification at this moment. Reviewed by: bz
| * Fix memory leak in umount.ceadler2012-11-151-3/+10
| | | | | | | | | | | | | | PR: bin/172553 Submitted by: Erik Cederstrand <erik@cederstrand.dk> Approved by: cperciva MFC after: 3 days
| * Remove remnants of classful addressing. These magic transformationsglebius2012-11-141-41/+8
| | | | | | | | of supplied arguments is not what a modern sysadmin expect.
| * - blk_equals() is too strict. If the journal entry defines more fragsjeff2012-11-141-10/+8
| | | | | | | | | | | | | | | | | | | | than we're claiming it should still be considered an exact match. This would previously leak frags that had been extended. - If there is a sequence number problem in the journal print the sequence numbers we've seen so far for debugging. - Clean up the block mask related debuging printfs. Some are redundant. MFC after: 1 week
| * Actually change "silent" to "silence" this time (reviewed by adri@).wblock2012-11-071-1/+1
| | | | | | | | MFC after: 1 week
| * Remove fifteen-year-old notes on media selection (suggested by simon@).wblock2012-11-071-20/+17
| | | | | | | | | | | | | | Add commas after "e.g." and "i.e.". Change "silent" to "silence" in wireless create section (reviewed by adri@). MFC after: 1 week
| * Add devd.conf(5) and devd(8) to SEE ALSO xrefs. Give users a pointer towblock2012-11-071-1/+3
| | | | | | | | | | | | | | | | | | seemingly mysterious actions that are not done by ifconfig itself, but by devd triggering on events caused by ifconfig. PR: docs/173405 Submitted by: Mateusz Kwiatkowski <mateusz.kwiatkowski@atlashost.eu> MFC after: 1 week
| * Revert r228695. We use __func__ here as a format to distinguish betweenpjd2012-11-051-1/+1
| | | | | | | | | | abort and assert. It would be cleaner to use NULL or "" here, but gcc complains in both cases.
| * Add an example showing the use of gnop(8) to skip over header data.wblock2012-11-041-1/+13
| | | | | | | | | | | | PR: kern/145999 Reviewed by: mjg MFC after: 1 week
* | Qualifying targets with ${.OBJDIR}/ confuses make for little reason.sjg2012-11-081-4/+4
| |
* | Updated/new Makefile.dependsjg2012-11-0819-0/+92
| |
| |
| \
| \
| \
| \
| \
| \
| \
*-------. \ Sync from headsjg2012-11-04132-3007/+20539
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Print a newline after the error message.jh2012-11-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: bin/168447 Submitted by: Boris Kochergin
| * | | | | Document that you can use -v along with -l.alfred2012-11-022-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Noticed by: pjd
| * | | | | Remove the recently added sysctl variable net.pfil.forward.ae2012-11-021-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead, add protocol specific mbuf flags M_IP_NEXTHOP and M_IP6_NEXTHOP. Use them to indicate that the mbuf's chain contains the PACKET_TAG_IPFORWARD tag. And do a tag lookup only when this flag is set. Suggested by: andre
| * | | | | Add an option to display the current dump device via dumpon -l.alfred2012-11-012-3/+49
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks
| * | | | | Fix problem with geom_label(4) not recognizing UFS labels on filesystemstrasz2012-10-305-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extended using growfs(8). The problem here is that geom_label checks if the filesystem size recorded in UFS superblock is equal to the provider (i.e. device) size. This check cannot be removed due to backward compatibility. On the other hand, in most cases growfs(8) cannot set fs_size in the superblock to match the provider size, because, differently from newfs(8), it cannot recompute cylinder group sizes. To fix this problem, add another superblock field, fs_providersize, used only for this purpose. The geom_label(4) will attach if either fs_size (filesystem created with newfs(8)) or fs_providersize (filesystem expanded using growfs(8)) matches the device size. PR: kern/165962 Reviewed by: mckusick Sponsored by: FreeBSD Foundation
| * | | | | Declare functions as static and move global variables to the top;trasz2012-10-281-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | no functional changes.
| * | | | | Remove the IPFIREWALL_FORWARD kernel option and make possible to turnae2012-10-251-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on the related functionality in the runtime via the sysctl variable net.pfil.forward. It is turned off by default. Sponsored by: Yandex LLC Discussed with: net@ MFC after: 2 weeks
| * | | | | Check the return error of set[ug]id. While this can never fail in theeadler2012-10-222-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. PR: bin/172289 PR: bin/172290 PR: bin/172291 Submittud by: Erik Cederstrand <erik@cederstrand.dk> Discussed by: freebsd-security Approved by: cperciva MFC after: 1 week
| * | | | | Check the return error of set[e][ug]id. While this can never fail in theeadler2012-10-222-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days
| * | | | | remove duplicate semicolons where possible.eadler2012-10-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: cperciva MFC after: 1 week
| * | | | | Add support for gjournal to dumpfseadler2012-10-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 165821 Submitted by: Andreas Longwitz <longwitz@incore.de> Approved by: cperciva MFC after: 3 days
| * | | | | Make fsck and fsck_msdosfs WARNS=6 cleanuqs2012-10-218-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - sprinkle const - add volatile qualifier to avoid vfork clobbering Inspired by: NetBSD PR: bin/139802 Reviewed by: ed
| * | | | | sbin/fsck: s/perror/perr/ to avoid shadowinguqs2012-10-218-79/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rename some other vars too - merge NetBSD license changes Obtained from: NetBSD PR: bin/139802 Reviewed by: ed
| * | | | | document acpi_cpu devd notification about _CST changeavg2012-10-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on prodding and a submission by Lars Engels <lars.engels@0x20.net>. MFC after: 5 days
| * | | | | More -Wmissing-variable-declarations fixes.ed2012-10-195-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
| * | | | | Add missing const keywords.ed2012-10-191-1/+1
| | | | | |
| * | | | | Fix warnings found by -Wmising-variable-declarations.ed2012-10-197-18/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible.
| * | | | | Disconnect non-MPSAFE SMBFS from the build in preparation for droppingattilio2012-10-182-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
| * | | | | Disconnect non-MPSAFE NTFS from the build in preparation for droppingattilio2012-10-173-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GIANT from VFS. This code is particulary broken and fragile and other in-kernel implementations around, found in other operating systems, don't really seem clean and solid enough to be imported at all. If someone wants to reconsider in-kernel NTFS implementation for inclusion again, a fair effort for completely fixing and cleaning it up is expected. In the while NTFS regular users can use FUSE interface and ntfs-3g port to work with their NTFS partitions. This is not targeted for MFC.
| * | | | | Disconnect non-MPSAFE NWFS from the build in preparation for droppingattilio2012-10-172-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC.
| * | | | | Disconnect non-MPSAFE PORTALFS from the build in preparation for droppingattilio2012-10-162-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GIANT from VFS. This is not targeted for MFC.
| * | | | | Fix minor nits:eadler2012-10-152-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use a comma after "i.e." sentences begin on new lines. No .Dd bump for trivial modification. Approved by: wblock MFC after: 3 days
| * | | | | Remove trailing whitespace.joel2012-10-141-8/+8
| | | | | |
| * | | | | Minor mdoc and language fixes.joel2012-10-141-11/+11
| | | | | |
| * | | | | getopt_long() returns an int. Use the return value accordingly.attilio2012-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pointy hat to: me MFC after: 2 months X-MFC: r241519,241521
| * | | | | Import a FreeBSD port of the FUSE Linux module.attilio2012-10-134-0/+901
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has been developed during 2 summer of code mandates and being revived by gnn recently. The functionality in this commit mirrors entirely content of fusefs-kmod port, which doesn't need to be installed anymore for -CURRENT setups. In order to get some sparse technical notes, please refer to: http://lists.freebsd.org/pipermail/freebsd-fs/2012-March/013876.html or to the project branch: svn://svn.freebsd.org/base/projects/fuse/ which also contains granular history of changes happened during port refinements. This commit does not came from the branch reintegration itself because it seems svn is not behaving properly for this functionaly at the moment. Partly Sponsored by: Google, Summer of Code program 2005, 2011 Originally submitted by: ilya, Csaba Henk <csaba-ml AT creo DOT hu > In collabouration with: pho Tested by: flo, gnn, Gustau Perez, Kevin Oberman <rkoberman AT gmail DOT com> MFC after: 2 months
| * | | | | - Get rid of #ifdef __FreeBSD__.glebius2012-09-291-21/+8
| | | | | | | | | | | | | | | | | | | | | | | | - Use correct format when printing uint64_t.
| * | | | | Fix some nearby type and style errors.mdf2012-09-283-17/+14
| | | | | | | | | | | | | | | | | | | | | | | | Pointed out by: bde
| * | | | | Fix sbin/ build with a 64-bit ino_t.mdf2012-09-2714-66/+84
| | | | | | | | | | | | | | | | | | | | | | | | Original code by: Gleb Kurtsou
| * | | | | Fix fsck_ffs build with a 64-bit ino_t.mdf2012-09-278-85/+103
| | | | | | | | | | | | | | | | | | | | | | | | Original code by: Gleb Kurtsou
| * | | | | Whitespace fixesmelifaro2012-09-241-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks
| * | | | | Permit table to be used as IPv6 address.melifaro2012-09-241-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported by: Serhiy Popov <sergiuspso@ukr.net> MFC after: 2 weeks
| * | | | | Use O_CLOEXEC for open instead of separate fcntl(2) call.pjd2012-09-221-3/+1
| | | | | |
| * | | | | Fix grammar in the portion about FIBs. Also, cross-referencebjk2012-09-181-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setfib(2) instead of setfib(1) for the 16-FIB limit. PR: docs/157452 Approved by: hrs (mentor)
| * | | | | mdoc: remove superfluous paragraph macro.joel2012-09-181-1/+0
| | | | | |
OpenPOWER on IntegriCloud