summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Include an Accept header in requests.des2013-07-301-1/+2
| | | | | PR: kern/180917 MFC after: 1 week
* Add Michael Gmelin's name to the copyright statement.des2013-07-301-1/+2
|
* Revert r253748,253749avg2013-07-281-0/+1
| | | | | | This WIP should not have been committed yet. Pointyhat to: avg
* remove needless inclusion of machine/cpu.h in userlandavg2013-07-281-1/+0
| | | | MFC after: 21 days
* Remove EOL whitespace.joel2013-07-281-1/+1
|
* Update subversion-1.8.0 -> 1.8.1. Update supportingpeter2013-07-283-6/+20
| | | | | | | components: apr-1.4.6 -> 1.4.8 and apr-util-1.4.1 -> 1.5.2. This is a post point-zero bug-fix / fix-sharp-edges release, including some workarounds for UTF-8 for people who haven't yet turned on WITH_ICONV.
* Make the BSD-licensed patch the default.pfg2013-07-261-3/+3
| | | | | | | | | | | | | | | The BSD-licensed patch(1) command has matured and it's behaviour can be considered equivalent to the older version of GNU patch in the tree. The switch has been extensively tested [1] and only two ports presented regressions, which have since been fixed. For convenience a new WITH_GNU_PATCH option is available, but it will likely be removed in the near future. PR: 176313 Approved by: portmgr
* Implement certificate verification, and many other SSL-relateddes2013-07-262-35/+273
| | | | | | | | imrovements; complete details in the PR. PR: kern/175514 Submitted by: Michael Gmelin <freebsd@grem.de> MFC after: 1 week
* patch: style fixpfg2013-07-241-2/+4
| | | | Submitted by: gogolok
* Remove the large part of struct ipsecstat. Only few fields of thisae2013-07-231-69/+3
| | | | | | | | | | | structure is used, but they already have equal fields in the struct newipsecstat, that was introduced with FAST_IPSEC and then was merged together with old ipsecstat structure. This fixes kernel stack overflow on some architectures after migration ipsecstat to PCPU counters. Reported by: Taku YAMAMOTO, Maciej Milewski
* mdoc nitdes2013-07-211-1/+2
|
* Close uniq(1) in the capability mode sandbox and limit descriptors usingpjd2013-07-181-0/+43
| | | | capability rights.
* - Make localtime(3) to work in sandbox.pjd2013-07-181-5/+28
| | | | - Move strerror(3) initialization to its own function.
* Sweep unused nlist entries.glebius2013-07-161-48/+26
| | | | Sponsored by: Nginx, Inc.
* Nuke "systat -mbuf". It was broken since FreeBSD 5, and since thereglebius2013-07-155-209/+2
| | | | haven't been any complaints, no one used it.
* Introduce new structure sfstat for collecting sendfile's statisticsae2013-07-152-11/+15
| | | | | | | and remove corresponding fields from struct mbstat. Use PCPU counters and SFSTAT_INC() macro for update these statistics. Discussed with: glebius
* Add -F fibnum option to specify an FIB number for -r flag.hrs2013-07-124-11/+40
|
* Report error for out-of-range numerical inputs. Requested by brooks.theraven2013-07-101-0/+8
|
* Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat,ae2013-07-092-5/+5
| | | | ipsec4stat, ipsec6stat to PCPU counters.
* Migrate struct carpstats to PCPU counters.ae2013-07-091-1/+1
|
* Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters.ae2013-07-091-3/+3
|
* Migrate structs arpstat, icmpstat, mrtstat, pimstat and udpstat to PCPUae2013-07-092-5/+5
| | | | counters.
* Use new macros to implement ipstat and tcpstat using PCPU counters.ae2013-07-093-20/+16
| | | | Change interface of kread_counters() similar ot kread() in the netstat(1).
* Prepare network statistics structures for migration to PCPU counters.ae2013-07-093-125/+109
| | | | | | | | | | Use uint64_t as type for all fields of structures. Changed structures: ahstat, arpstat, espstat, icmp6_ifstat, icmp6stat, in6_ifstat, ip6stat, ipcompstat, ipipstat, ipsecstat, mrt6stat, mrtstat, pfkeystat, pim6stat, pimstat, rip6stat, udpstat. Discussed with: arch@
* Remove unnecessary cast to pid_t.kevlo2013-07-042-3/+3
|
* Merge r252513 from src/gnu/usr.bin/patch into src/usr.bin/patch:obrien2013-07-031-1/+1
| | | | | | | | Properly handle input lines containing NUL characters such that pgets() accurately fills the read buffer. Callers of pgets() still mis-process the buffer contents if the read line contains NUL characters, but this at least makes pgets() accurate.
* Merge r252512 from src/gnu/usr.bin/patch into src/usr.bin/patch:obrien2013-07-031-2/+6
| | | | | | | | | Make it so that 'patch < FUBAR' and 'patch -i FUBAR' operate the same. The former makes a copy of stdin, but was not accurately putting the content of stdin into a temp file. This lead to the undercounting the number of lines in hunks containing NUL characters when reading from stdin. Thus resulting in "unexpected end of file in patch" errors.
* Few more style nits.pjd2013-07-031-13/+10
| | | | MFC after: 1 month
* Sandbox rwho(1) using capability mode and Capsicum capabilities.pjd2013-07-031-3/+23
| | | | | | | | | rwho(1) gets only read-only access to /var/rwho/ directory. Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> Sponsored by: Google Summer of Code 2013 Reviewed by: pjd MFC after: 1 month
* Style cleanups.pjd2013-07-031-45/+53
| | | | | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org> Sponsored by: Google Summer of Code 2013 Reviewed by: pjd MFC after: 1 month
* As a followup to r252547, propate const down the call stack.peter2013-07-031-1/+1
|
* Attempt to deal with a compile failure that shows up with gcc, whichpeter2013-07-032-0/+4
| | | | | has -Werror on. Without this, yylex() is inconsistently or redundantly defined.
* If you've compiled your base system with WITH_ICONV, then use it for svnpeter2013-07-012-0/+10
| | | | | | | alongside the other consumers (bsdtar, csh etc). The svnlite build gets upset when it hits non-ascii characters in inconvenient places.
* Update to current configuration.peter2013-07-013-13/+139
|
* killall: add -q flag to suppress error message when no processes are matchedmjg2013-06-302-4/+11
| | | | | | | | Man-page text provided by wblock. PR: bin/30542 Submitted by: Tony Finch <dot@dotat.at> (original version) MFC after: 1 week
* truss: recognize O_DIRECTORY, O_EXEC, O_TTY_INIT and O_CLOEXECmjg2013-06-301-1/+1
| | | | MFC after: 3 days
* Adding myself to the calendar!hiren2013-06-301-0/+1
| | | | Approved by: sbruno (mentor)
* Enable svnlite on armv6.kientzle2013-06-291-1/+1
|
* - Trim an unused and bogus Makefile for mount_smbfs.davide2013-06-286-0/+7
| | | | | | - Reconnect with some minor modifications, in particular now selsocket() internals are adapted to use sbintime units after recent'ish calloutng switch.
* sed: use getline() instead of fgetln().pfg2013-06-261-8/+11
| | | | | | | | | | | | | | In BSD, fgetln() available in libc but in Illumos the Solaris port had to include it internally. It also seems to have caused problems [1]. Aid portability by using getline() instead. Reference: https://www.illumos.org/issues/3820 [1] Submitted by: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.com> Reviewed by: dds MFC after: 2 weeks
* - Adding myself to the committers-ports.dotfeld2013-06-261-0/+1
| | | | | | - Adding myself to the freebsd calendar Approved by: swills (mentor)
* Only enable svn on amd64/ia64/sparc64/i386.peter2013-06-201-1/+1
|
* Fix a couple of typos that broke buildworld for me.truckman2013-06-191-2/+2
| | | | Reviewed by: peter
* Bandaid: mips doesn't seem to have the full set of atomics builtins. Ipeter2013-06-191-0/+2
| | | | will investigate more.
* Tweak generated config to make it more likely to work on 32 bit systems.peter2013-06-181-2/+17
| | | | Pointed out by: Trond.Endrestol@fagskolen.gjovik.no
* Fix bug in destructor for checker manager in DTC that caused segfaults ontheraven2013-06-181-0/+1
| | | | exit.
* Introduce svnlite so that we can check out our source code again.peter2013-06-1841-0/+3245
| | | | | | | | | | | | | | | | This is actually a fully functional build except: * All internal shared libraries are static linked to make sure there is no interference with ports (and to reduce build time). * It does not have the python/perl/etc plugin or API support. * By default, it installs as "svnlite" rather than "svn". * If WITH_SVN added in make.conf, you get "svn". * If WITHOUT_SVNLITE is in make.conf, this is completely disabled. To be absolutely clear, this is not intended for any use other than checking out freebsd source and committing, like we once did with cvs. It should be usable for small scale local repositories that don't need the python/perl plugin architecture.
* Fix header guards.eadler2013-06-171-2/+2
| | | | | | This was ready about the same time as r251862 so just make one final cleanup Submitted by: dt71@gmx.com
* Clean up -Wheader-guard warnings.pluknet2013-06-172-2/+2
| | | | | | Submitted by: <dt71@gmx.com> MFC after: 3 days X-MFC with: r251848
* Add a checker to dtc, based on a feature request from rwatson / brooks.theraven2013-06-172-0/+58
| | | | | | | This checks that every node that has children specifies their register sizes. This is not enabled by default, as the default sizes are sometimes required (including by some DTS in the tree), but can help when writing new device trees so that you can check that you actually meant the defaults.
OpenPOWER on IntegriCloud