summaryrefslogtreecommitdiffstats
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Reduce WARNS to 0 for dig, host, and nslookup to make themerwin2013-08-303-3/+3
| | | | | | | | | compile with the optional WITH_BIND_SIGCHASE. Submitted by: Andre Albsmeier <Andre.Albsmeier@siemens.com> Approved by: delphij (mentor, implicit) MFC after: 3 days Sponsored by: DK Hostmaster A/S
* Drop build option switch for the older GNU patch.pfg2013-08-291-10/+0
| | | | | | | | As promised, drop the option to make the older GNU patch the default. GNU patch is still being built but something drastic may happen to it to it before Release.
* fix up my copyright and remove third clause..jmg2013-08-261-5/+1
|
* kdump: Decode SOCK_CLOEXEC and SOCK_NONBLOCK in socket() and socketpair().jilles2013-08-262-2/+15
|
* Remove EOL whitespace.joel2013-08-221-2/+2
|
* Update Bind to 9.9.3-P2erwin2013-08-222-6/+6
| | | | | | | | | | | | | | | | | | | | | | | Notable new features: * Elliptic Curve Digital Signature Algorithm keys and signatures in DNSSEC are now supported per RFC 6605. [RT #21918] * Introduces a new tool "dnssec-verify" that validates a signed zone, checking for the correctness of signatures and NSEC/NSEC3 chains. [RT #23673] * BIND now recognizes the TLSA resource record type, created to support IETF DANE (DNS-based Authentication of Named Entities) [RT #28989] * The new "inline-signing" option, in combination with the "auto-dnssec" option that was introduced in BIND 9.7, allows named to sign zones completely transparently. Approved by: delphij (mentor) MFC after: 3 days Sponsored by: DK Hostmaster A/S
* Subversion requires atomic functions we only support on arm with clang.andrew2013-08-191-1/+3
|
* Remove incorrect 'const' qualifier from pointers to dynamic stringjhb2013-08-191-1/+1
| | | | | | | buffers I added in the previous commit. Pointy hat to: jhb MFC after: 1 month
* Add support for parameterised device tree sources to the device tree compiler.theraven2013-08-194-18/+145
| | | | | Reviewed by: brooks Sponsored by: DARPA, AFRL
* Make the "FD" column one character wider, so that "trace" can also alignpjd2013-08-181-6/+6
| | | | properly.
* - Use getnameinfo(3) instead of gethostbyaddr(3) or inet_ntop(3).hrs2013-08-171-18/+25
| | | | | - Fill sin6_scope_id from in6p.sin6_addr.s6_addr[2]. struct inpcb has struct in6_addr for the endpoint addresses, so sin6_scope_id must be filled.
* Add new mmap(2) flags to permit applications to request specific virtualjhb2013-08-162-4/+69
| | | | | | | | | | | | | | | | | | | | | | | | | address alignment of mappings. - MAP_ALIGNED(n) requests a mapping aligned on a boundary of (1 << n). Requests for n >= number of bits in a pointer or less than the size of a page fail with EINVAL. This matches the API provided by NetBSD. - MAP_ALIGNED_SUPER is a special case of MAP_ALIGNED. It can be used to optimize the chances of using large pages. By default it will align the mapping on a large page boundary (the system is free to choose any large page size to align to that seems best for the mapping request). However, if the object being mapped is already using large pages, then it will align the virtual mapping to match the existing large pages in the object instead. - Internally, VMFS_ALIGNED_SPACE is now renamed to VMFS_SUPER_SPACE, and VMFS_ALIGNED_SPACE(n) is repurposed for specifying a specific alignment. MAP_ALIGNED(n) maps to using VMFS_ALIGNED_SPACE(n), while MAP_ALIGNED_SUPER maps to VMFS_SUPER_SPACE. - mmap() of a device object now uses VMFS_OPTIMAL_SPACE rather than explicitly using VMFS_SUPER_SPACE. All device objects are forced to use a specific color on creation, so VMFS_OPTIMAL_SPACE is effectively equivalent. Reviewed by: alc MFC after: 1 month
* Provide UTF-8 version of russian calendars.glebius2013-08-167-1/+253
|
* Make carets line up in dtc diagnostics if the line starts with a tab.theraven2013-08-141-1/+2
|
* Belatedly add my birthday and fix a typo.uqs2013-08-141-1/+2
|
* kdump: Decode AT_FDCWD in first argument of bindat() and connectat().jilles2013-08-131-0/+2
|
* kdump: Improve decoding of various *at calls:jilles2013-08-132-0/+47
| | | | | * Write AT_FDCWD where appropriate. * Decode the remaining arguments of openat() etc like open() etc.
* Make check for unknown login class actually work. Previously, using the ↵trasz2013-08-121-0/+2
| | | | | | | "-c" option with login class not defined in login.conf(5) would silently fail, resulting in using the default login class.
* Give up on using iconv to convert to UTF-8 at build time. I don't see anypeter2013-08-1210-50/+2783
| | | | | practical way to make iconv(1) as a build tool. Instead pre-convert. This gives us UTF-8 nvi catalogs even on systems without iconv enabled.
* Don't build the UTF-8 version of the catalogs without iconv enabled.peter2013-08-111-8/+7
| | | | Pointy-hat to: peter (don't do things at 4am!)
* Don't install a ru_SU.KOI8-R symlink, 'make delete-old' will just removepeter2013-08-111-1/+0
| | | | it again.
* Update nvi-1.79 to 2.1.1-4334a8297fpeter2013-08-115-434/+239
| | | | | | | | | | | | | | | | | | | | | | | | This is the gsoc-2011 project to clean up and backport multibyte support from other nvi forks in a form we can use. USE_WIDECHAR is on unless building for the rescue crunchgen. This should allow editing in the native locale encoding. USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. This adds the ability to do things like edit a KOI8-R file while having $LANG set to (say) en_US.UTF-8. iconv is used to transcode the characters for display. Other points: * It uses gencat and catopen/etc instead of homegrown msg catalog stuff. * A lot of stuff has been trimmed out, eg: the perl and tcl bindings which we could never use in base anyway. * It uses ncursesw when in widechar mode. This could be interesting. GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1 Repo at: https://github.com/lichray/nvi2 Obtained from: Zhihao Yuan <lichray@gmail.com>
* In su(1), fix option ordering and clarify that the login class specifiedtrasz2013-08-111-5/+7
| | | | | | must be defined in login.conf. MFC after: 1 month
* ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.sjg2013-08-101-1/+1
| | | | | Consume up to next newline, and issue a parse warning. If no newline found before P_end, carry on as before.
* Pass variables prefixed with both LD_ and LD_32_ to the run-time linker.markj2013-08-071-13/+17
| | | | | | | | | | This prevents unintentional execution of programs when running ldd(1) on 32-bit Linux binaries. PR: 175339, 127276 Suggested by: kib, rstone Reviewed by: kib MFC after: 2 weeks
* Update serf 1.2.1 -> 1.3.0 for svnpeter2013-08-021-1/+1
|
* find: Allow -delete to delete files given as arguments.jilles2013-08-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Formerly, a command like find dir1/dir2 -delete would delete everything under dir1/dir2 but not dir1/dir2 itself. When -L is not specified and "." can be opened, the fts(3) code underlying find(1) is careful to avoid following symlinks or being dropped in different locations by moving the directory fts is currently traversing. If a problematic concurrent modification is detected, fts will not enter the directory or abort. Files found in the search are returned via the current working directory and a pathname not containing a slash. For paranoia, find(1) verifies this when -delete is used. However, it is too paranoid about the root of the traversal. It is already assumed that the initial pathname does not refer to directories or symlinks that might be replaced by untrusted users; otherwise, the whole traversal would be unsafe. Therefore, it is not necessary to do the check for fts_level == FTS_ROOTLEVEL. Deleting the pathnames given as arguments can be prevented without error messages using -mindepth 1 or by changing directory and passing "." as argument to find. This works in the old as well as the new version of find. Tested by: Kurt Lidl Reviewed by: jhb
* Merge bmake-20130730sjg2013-08-023-7/+7
| | | | | Main feature of interest is .MAKE.JOB.PREFIX= to suppress --- job --- tokens.
* Properly print arguments to vfork(2) and rfork(2).markj2013-08-012-1/+12
| | | | | | PR: 180976 Submitted by: Yuri <yuri@tsoft.com> (original patch) MFC after: 1 week
* MFC'ing to 9.2.obrien2013-07-301-1/+1
|
* grep -i does not work for simple patterns and single byte locales, likeache2013-07-301-2/+2
| | | | | | | LANG=ru_RU.KOI8-R grep -i <some single KOI8-R letter> Fix it. MFC after: 3 days
* 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.
OpenPOWER on IntegriCloud