summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Revert AESNI patches.Luiz Otavio O Souza2015-10-201-9/+0
| | | | | | | | | Revert "Importing pfSense patch aesgcm.soft.1.patch" This reverts commit 46e99a8858f1c843c1774e472c11d422ca2163ae. TAG: IPSEC-HEAD Issue: #4841
* Merge branch 'stable/10' into develRenato Botelho2015-10-1311-39/+54
|\
| * MFC r288335:hselasky2015-10-131-8/+6
| | | | | | | | | | | | | | Store PID after becoming a daemon() and not before to ensure the correct PID gets written to the PID file. PR: 203252
| * MFC: r269851,r272076,r274884,r282328,r285644,r286503,r286504,r286505,peter2015-10-1210-31/+48
| | | | | | | | | | | | | | | | | | r286506,r286510,r286561,r286562,r287034 Update svnlite from 1.8.10 to 1.8.14, and the support components: serf->1.3.8, apr->1.5.2, apr-util->1.5.4, sqlite3->3.8.11.1 This includes syncing the developer templates with head.
* | Merge branch 'stable/10' into develRenato Botelho2015-10-0718-128/+326
|\ \ | |/
| * MFC r288059: Bunch of improvements to ctlstat.mav2015-10-052-54/+78
| | | | | | | | | | | | Add -p option to allow filtering by ports. Make -l and -p options work in all modes as filters. Improve output formatting to better fit columns.
| * MFC r288043:mav2015-10-051-5/+4
| | | | | | | | Output times as normal microseconds, rather then in bintime format.
| * MFC r286806: Drop "internal" CTL frontend.mav2015-10-051-1/+0
| | | | | | | | | | | | Its idea was to be a simple initiator and execute several commands from kernel level, but FreeBSD never had consumer for that functionality, while its implementation polluted many unrelated places.
| * MFC r288199,r288246:bdrewery2015-10-031-0/+2
| | | | | | | | Add missing CLEANFILES.
| * MFC 283624,283630:jhb2015-10-012-3/+137
| | | | | | | | | | | | Export a list of VM objects in the system via a sysctl. The list can be examined via 'vmstat -o'. It can be used to determine which files are using physical pages of memory and how much each is using.
| * MFC 269727:jhb2015-09-302-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update vmstat usage for last-argument count/wait parameters Correct the usage in both the manpage and in usage() to indicate that the wait interval and repetition count may be given either with the respective -w/-c arguments, or as the final positional arguments. [0] The corresponding code to implement the positional arguments has been conditional on the (always-enabled) BACKWARD_COMPATIBILITY macro since the original 4.4-lite import. It's no longer reasonable to remove the functionality, so remove the macro and conditional instead. Note that multiple disks may be given on the command line. While here, sort arguments and apply minor mdoc fixes. PR: 184755 [0]
| * MFC r288154:bdrewery2015-09-291-1/+1
| | | | | | | | Similar to r266147, don't define PROG in the test subdirs.
| * MFC r286010: ar: enable deterministic mode by defaultemaste2015-09-252-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | Ar cannot handle UIDs with more than 6 digits, and storing the mtime, uid, gid and mode provides little to negative value anyhow for ar's uses. Turn on deterministic (-D) mode by default; it can be disabled by the user with -U. Also MFC follow-on fixes in r286024 and r287324. PR: 196929 Relnotes: Yes Sponsored by: The FreeBSD Foundation
| * MFC r287340: vtfontcvt: fix buffer overflow for non-default size .hex fontsemaste2015-09-241-9/+35
| | | | | | | | | | | | And r287336 which introduced xmalloc. Sponsored by: The FreeBSD Foundation
| * MFC r282916: Add ELF machine EM_IAMCU, 32-bit Intel MCUemaste2015-09-241-0/+1
| | | | | | | | It is e_machine 6, which was previously reserved for 486.
| * MFC r287327: ar: Deobfuscate a while loopemaste2015-09-241-1/+1
| |
| * MFC r285841: Add RISC-V ELF machine type definitionemaste2015-09-241-0/+1
| | | | | | | | | | | | EM_RISCV is now officially registered as e_machine 243. Sponsored by: The FreeBSD Foundation
| * MFC r287634:delphij2015-09-242-3/+1
| | | | | | | | | | | | | | login.c doesn't really need libutil.h, don't include it. login_fbtab.c includes paths.h and pathnames.h, and pathnames.h includes paths.h. Eliminate the paths.h inclusion in login_fbtab.c.
| * MFC r287633:delphij2015-09-244-21/+16
| | | | | | | | | | | | | | - Avoid accessing window properties directly, instead, use accessors. This should be no-op for now, but allows the code to work if we move to NCURSES_OPAQUE. - Use calloc() instead of malloc+bzero.
| * MFC r287590:delphij2015-09-232-13/+1
| | | | | | | | | | | | w(1) is not setgid binary since r53279, so remove the setgid() call. Reviewed By: wollman
* | Merge branch 'stable/10' into develRenato Botelho2015-09-223-9/+12
|\ \ | |/
| * MFC r286891, r286893:pfg2015-09-171-1/+5
| | | | | | | | | | | | | | calendar(1): add a few more dates to the Christian calendar Bring some well established holidays that also happen to be legal holidays in many Catholic countries.
| * MFC r287320:delphij2015-09-141-4/+3
| | | | | | | | | | | | - uri is expected to be nul-terminated (strchr used later), so use strlcpy instead of strncpy. - replace the other two cases of strncpy+\0 with strlcpy.
| * MFC r287319:delphij2015-09-141-4/+4
| | | | | | | | | | | | | | Constify opt_f and opt_t and eliminate unneeded copying. This fixes memory leaks. Reported by: clang static analyzer
* | Merge branch 'stable/10' into develRenato Botelho2015-09-1116-100/+854
|\ \ | |/
| * MFC r287406:hrs2015-09-091-21/+23
| | | | | | | | | | | | | | Divide statistics in the number of packets with 1000 instead of 1024 in human-readable form. PR: 183598
| * MFC r287123:delphij2015-09-081-2/+3
| | | | | | | | | | | | | | Finish r89633 and completely remove the remaining of VERSION. PR: bin/202308 Submitted by: John Hein <z7dr6ut7gs snkmail com>
| * MFC r287345:delphij2015-09-041-10/+4
| | | | | | | | | | | | | | | | Drop group privileges after opening the kvm descriptor, otherwise, the code would not drop privileges as expected. While there also add checks for the drop and bail out immediately if we failed.
| * MFC: r268745,r268746,r268747,r268748,r268749,r268861,r268750,r268751,r268763bapt2015-09-026-0/+725
| | | | | | | | | | | | | | | | r273769,r273771,r276771,r278810 New BSDL timeout(1) utility compatible with GNU timeout Relnotes: yes
| * MFC r285844: ar: add -U (unique) option to disable -D (deterministic) modeemaste2015-08-312-7/+34
| | | | | | | | | | | | | | | | | | This is required in order for us to support deterministic mode by default. If multiple -D or -U options are specified on the command line, the final one takes precedence. GNU ar also uses -U for this. PR: 196929 Sponsored by: The FreeBSD Foundation
| * MFC r286344: find: Fix segfault with very long path in -exec/-ok ... {} \;.jilles2015-08-282-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | If the resulting argument is longer than MAXPATHLEN, realloc() was called to extend the space, but the new pointer was not correctly stored. Different from what OpenBSD has done, rewrite brace_subst() to calculate the necessary space first and realloc() at most once. As before, the e_len fields are not updated in case of a realloc. Therefore, a following long argument will do another realloc. PR: 201750
| * MFC r281800 (pfg):delphij2015-08-273-45/+40
| | | | | | | | | | | | | | | | | | | | | | patch(1): small include changes. Mostly to match OpenBSD, no functional change. MFC r286601 + 286617: use posix_spawn(3) instead of fork() and exec() manually as suggested by jmg@.
* | Merge branch 'stable/10' into develRenato Botelho2015-08-268-46/+151
|\ \ | |/
| * MFC r286660, r286419, r286417, r286395, r286215, r284883marcel2015-08-258-46/+151
| | | | | | | | | | | | | | | | | | - Add the ntfs alias - Fix the dynamic VHD format to work with qemu - Update manpage MFH: Differential Revision:
* | Merge branch 'stable/10' into develRenato Botelho2015-08-201-0/+8
|\ \ | |/
| * MFC r285742:ed2015-08-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Unbreak "last reboot". According to the last(1) man page, the "reboot" pseudo-user should print all system reboot entries. This got broken by the utmpx import, as records are typed. Re-add support for "last reboot" by specifically matching against SHUTDOWN_TIME and BOOT_TIME records. PR: 168844 Submitted by: matthew@
* | Importing pfSense patch aesgcm.soft.1.patchRenato Botelho2015-08-171-0/+9
| |
* | Importing pfSense patch netstat_ifname_size.diffRenato Botelho2015-08-171-4/+4
|/
* MFC r285842: truss: follow pdfork()ed descendents with -femaste2015-08-148-0/+8
|
* MFC r286615:pfg2015-08-141-2/+2
| | | | Clean up some externally visible "more then" occurences
* Fix patch(1) shell injection vulnerability via ed(1). [SA-15:18]delphij2015-08-052-4/+16
| | | | Fix routed remote denial of service vulnerability. [SA-15:19]
* MFC r286102:pfg2015-08-041-2/+2
| | | | | | | | | | | Buffer overflow in wall(1). This affected syslogd, wall and talkd. Detected by FORTIFY_SOURCE GSoC (with clang). Submitted by: Oliver Pinter Differential Revision: https://reviews.freebsd.org/D3254 Reviewed by: delphij, jmg
* MFC r285782:markj2015-07-311-6/+18
| | | | | | Fix counter reads on platforms where sizeof(uint64_t) != sizeof(uint64_t *). PR: 201700
* Fix patch(1) shell injection vulnerability. [SA-15:14]delphij2015-07-282-41/+65
| | | | | | Fix resource exhaustion in TCP reassembly. [SA-15:15] Fix OpenSSH multiple vulnerabilities. [SA-15:16]
* MFC r285248: lldb: use .PATH to find man page instead of symlinking itemaste2015-07-281-2/+2
|
* MFC r284636:hrs2015-07-232-46/+64
| | | | | | | | | | - Add SOCK_SEQPACKET support in UNIX-domain socket. - Display zoneid using % notation in an IPv6 address. - Use nitems(). - Use sstos{in,in6,un} macros to simplify casts. - style(9). Approved by: re (gjb)
* MFC r285253 (hrs):gjb2015-07-201-31/+17
| | | | | | | | | | | - Add IPv6 support in quota(1). While rpc.rquotad has supported PF_INET6 for a long time, quota(1) utility supported only PF_INET. - Clean up confusing changes in f_mntfromname. - Add an entry for rquotad with rpc/udp6 to inetd.conf. PR: 194084 Approved by: re (kib) Sponsored by: The FreeBSD Foundation
* MFC: r285457brueffer2015-07-201-10/+1
| | | | | | | | | Don't claim c99 is a wrapper around gcc; it's a wrapper around the system cc. PR: 201303 Submitted by: Bruce Cran Approved by: re (gjb)
* MFC: r285028brueffer2015-07-131-1/+1
| | | | | | | | Add the year to the VAX-11/780 announcement entry. PR: 200961 Submitted by: John Marshall Approved by: re (gjb)
* MFC: r279597 (and 259152,259219 as dependency)bapt2015-07-085-285/+223
| | | | | | | | | | | | | | | | | | | | | Make calendar(1) usable again. rework the calendar parser so that it is compatible with documented format: Support includes surrounded by '"' or '<' '>' Print warnings about bad syntax Correctly navigate through include directories to find calendar files Correctly support multiple includes While here: MFC: 262011 (by eadler) calendar(1): don't segfault in invalid input When the user supplies an invalid number of days provide a useful error message instead of segfaulting. Approved by: re (gjb)
OpenPOWER on IntegriCloud