summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a new option, -P, which reverts newsyslog(8) to the old behavior,delphij2010-01-202-5/+13
| | | | | | | | | which stops to proceed further, as it is possible that processes which fails to create PID file get screwed by rotation. Requested by: stas MFC after: 2 weeks X-MFC with: r200806
* Revert r202447 by re-exposing the old uname(3) function.ed2010-01-192-3/+4
| | | | | | | | | | | | | | | | It makes hardly any sense to expose a symbol which should only be provided for binary compatibility, but it seems we don't have a lot of choice here. There are many autoconf scripts out there that try to create a binary that links against the old symbol to see whether uname(3) is present. These scripts fail to detect uname(3) now. It should be noted that the behaviour we implement is not against the standards: | The following shall be declared as a function and may also be defined | as a macro: | | int uname(struct utsname *);
* We don't support isdn devices anymore (since May 2008).brueffer2010-01-191-132/+0
| | | | | | PR: 142970 Submitted by: Matthias Meyser <Meyser@xenet.de> MFC after: 1 week
* Sort NDHASGIANT.9 link properly.jhb2010-01-191-2/+2
|
* Fix portability to 64 bit platforms.fanf2010-01-191-1/+1
| | | | | | printf("%.*s",i,s) expects an int not a ptrdiff_t Thanks to bf1783 (at) googlemail.com for the bug report.
* Make last(1) display the full log file.ed2010-01-191-10/+9
| | | | | | | | | | | | I must have misread when I ported the original last(1) source code. Instead of only processing the last 1024 entries, it reads them in in chucks of 1024 entries at a time. Unfortunately we cannot walk through the log file in reverse order, which means we have to allocate a piece of memory to hold all the entries. Call realloc() for each 128 entries we read. Reported by: Andrzej Tobola <ato iem pw edu pl>
* Update to 4.6.delphij2010-01-192-6/+35
| | | | | | Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD. MFC after: 2 weeks
* Sync unifdefall with upstream. It no longer relies entirely on $PATHfanf2010-01-191-5/+14
| | | | | to find unifdef, in order to support running the test suite before installing.
* Add a -o outfile option, which can be used to specify an output file. Thefanf2010-01-192-30/+119
| | | | | | | | file can safely be the same as the input file. Idea from IRIX unifdef(1). This version fixes a bug in the NetBSD unifdef which refuses to write to a -o outfile which does not exist. Obtained from: NetBSD
* Move the examples for the 'hints' and 'env' keywords from various GENERICjhb2010-01-1914-62/+9
| | | | | | kernel configs into NOTES. Reviewed by: imp
* Back out the change to Makefile made in r202628.ed2010-01-191-1/+1
| | | | | It was just a local modification to build the i386 and amd64 more quickly.
* Recommit r193732:ed2010-01-195-10/+4
| | | | | | | | | | | | | | | | Remove __gnu89_inline. Now that we use C99 almost everywhere, just use C99-style in the pmap code. Since the pmap code is the only consumer of __gnu89_inline, remove it from cdefs.h as well. Because the flag was only introduced 17 months ago, I don't expect any problems. Reviewed by: alc It was backed out, because it prevented us from building kernels using a 7.x compiler. Now that most people use 8.x, there is nothing that holds us back. Even if people run 7.x, they should be able to build a kernel if they run `make kernel-toolchain' or `make buildworld' first.
* Add missing DPADD and fix whitespace.des2010-01-191-2/+3
| | | | Submitted by: ru
* Removed NO_UNDEF.ru2010-01-191-4/+1
| | | | Nudged by: trasz
* Add HTTP digest authentication.des2010-01-192-67/+819
| | | | | Submitted by: Jean-Francois Dockes <jf@dockes.org> Forgotten by: des (repeatedly)
* Use the iflladdr_event event to keep the mac address on the vap in sync withthompsa2010-01-193-1/+40
| | | | | | | the parent wirless interface. If the user passed in a mac address or it was autogenerated then flag this to avoid trashing it on update. This will fix wlan+lagg in a post vap world.
* Do not hold the lock over if_setlladdr() as it calls into the interface driverthompsa2010-01-191-4/+9
| | | | init routine.
* adds a hardware specific configuration file for uath(4).weongyo2010-01-192-1/+121
| | | | | Pointed by: sam Reviewed by: imp, thompsa
* Product ID of D-Link DWA-120 after loading the firmware is incorrect.weongyo2010-01-191-1/+1
|
* removes a hack to attach TRENDnet TEW-504UB/EU that I think this issueweongyo2010-01-192-2/+0
| | | | | is solved with r202607. Now idProduct of all uath(4) devices should be decreased after loading the firmware.
* Fixes a firmware bug that in some devices (e.g. Netgear WG111T orweongyo2010-01-191-3050/+3139
| | | | | | | | TRENDnet TEW-504UB/EU) idProduct didn't be decreased after loading the firmware. Pointed by: Steven Friedrich <freebsd at insightbb.com> Reviewed by: sam
* MFV of tzdata2010a:edwin2010-01-181-5/+5
| | | | Administrative only: Fix AT fields for Asia/Dhaka
* Really disable wtmp logging when chrooting.ed2010-01-182-6/+9
| | | | | | | | Also perform a small cleanup to ftpd_logwtmp(). Just use a NULL parameter for the username to indicate a logout, instead of an empty string. Reported by: Alexey Shuvaev <shuvaev physik uni-wuerzburg de>
* Include unistd.h for read(), write() and stdlib.h for exit().wkoszek2010-01-182-3/+6
| | | | Bump WARNS to 5 while being here.
* Small cleanup while being here:wkoszek2010-01-182-14/+6
| | | | | | | | | | - sort includes - remove usage(), since it seems to come from older version of the KLD - remove unnecessary variable - mark argc/argv as unused Bring WARNS = 5 to the Makefile.
* Include stdlib.h for exit(3) and unistd.h for syscall(2). This makeswkoszek2010-01-181-0/+2
| | | | this program to compile cleanly.
* Small fix for making this KLD to compile.wkoszek2010-01-181-1/+1
|
* Let us to use our libusb(3) in Linuxolator.wkoszek2010-01-182-0/+28
| | | | | | | | | | | With this change, Linux binaries can work with our libusb(3) when it's compiled against our header files on GNU/Linux system -- this solves the problem with differences between /dev layouts. With ported libusb(3), I am able to use my USB JTAG cable with Linux binaries that support it. Reviewed by: thompsa
* Undo r169961, removing WITH_GCC3, added as a temporary workaround threetrasz2010-01-182-6/+1
| | | | years ago.
* Declare a new EVENTHANDLER called iflladdr_event which signals that the L2thompsa2010-01-188-0/+52
| | | | | | | | | | | | | address on an interface has changed. This lets stacked interfaces such as vlan(4) detect that their lower interface has changed and adjust things in order to keep working. Previously this situation broke at least vlan(4) and lagg(4) configurations. The EVENTHANDLER_INVOKE call was not placed within if_setlladdr() due to the risk of a loop. PR: kern/142927 Submitted by: Nikolay Denev
* Add epic(4) also here.marius2010-01-181-0/+1
| | | | MFC after: 3 days
* Also output stripeoffset for consumer even if stripesize is zero, whiledelphij2010-01-181-1/+1
| | | | | | stripeoffset is non-zero. Pointed out by: mav
* fix a comment typoavg2010-01-181-1/+1
| | | | MFC after: 3 days
* Revert parts of r202283:lulf2010-01-181-4/+7
| | | | | | | - Return EOPNOTSUPP before EROFS to be consistent with other filesystems. - Fix setting of the nodump flag for users without PRIV_VFS_SYSFLAGS privilege. Submitted by: jh@
* Remove a dead initialization.ed2010-01-181-1/+1
| | | | Spotted by: scan-build (uqs)
* Update the example named.conf file to answer locally for the newlydougb2010-01-181-2/+15
| | | | | | released IPv4 documentation ranges (http://tools.ietf.org/html/rfc5737) and catch up to the IPv6 documentation range and domain names that 5737 also references.
* Add a warning if we're inw'ing from an odd address. This could happenimp2010-01-181-0/+2
| | | | | due to a bug and might be the real basis for the cardbus workaround hack.
* Fix indentation nit.imp2010-01-181-1/+1
|
* Allow the CTAGS to be set to something other than "gtags" or "ctags",ru2010-01-181-8/+6
| | | | | | | | but assume it supports a ctags(1)-compatible syntax. PR: 46676 Submitted by: Lyndon Nerenberg MFC after: 3 days
* If CTAGS is not set or set to something other than "ctags" or "gtags",ru2010-01-181-0/+2
| | | | | | | "cleandepend" was not removing the .depend file; fixed. PR: 126747 MFC after: 3 days
* Print sizes up to INT64_MAX in md_prthumanval().jh2010-01-181-5/+6
| | | | | | PR: bin/125365 Approved by: trasz (mentor) MFC after: 2 weeks
* Double checking my commit I found that comment saying thatache2010-01-181-7/+3
| | | | | | | | POSIX 2008 and XSI 7require strcoll() for opendir() is not true. I can't find such requirement in POSIX 2008 and XSI 7. So, back out that part of my commit, returning old strcmp(), and remove this misleading comment.
* acpi_ec: remove redundant acpi_disabled check in probe methodavg2010-01-181-2/+1
| | | | MFC after: 4 days
* Let pam_lastlog use random ut_id's.ed2010-01-182-14/+42
| | | | | | | | | | | | | | | | | By using random values for ut_id, not based on the TTY name, it is possible to run for example login(1) multiple times on the same TTY, without overwriting any previous records. The output of w(1) will then be as follows: | 12:26PM up 2 days, 2:31, 5 users, load averages: 0.01, 0.03, 0.03 | USER TTY FROM LOGIN@ IDLE WHAT | ed pts/2 mekker.80386.nl 12:26PM - w | root pts/2 - 12:26PM - w | root pts/2 - 12:26PM - w | root pts/2 - 12:26PM - w Approved by: des
* Also let getent(1) print values of ut_pid.ed2010-01-181-3/+3
|
* acpi_ec: clean up 'private' ivar when freeing memory to which it pointsavg2010-01-181-0/+1
| | | | | | | | | | This is not only a prudent thing to do, but also makes sure that probe method is not confused by non-NULL 'private', if the previous attach attempt fails for any reason. PR: kern/142561 Tested by: Alex Goncharov <alex-goncharov@comcast.net> MFC after: 4 days
* preserve errno when processing error cases.davidxu2010-01-181-1/+3
|
* a) Use strcoll() in opendir() and alphasort() as POSIX 2008 requires.ache2010-01-182-8/+4
| | | | | | | | | | | | | | | | | It also matches now how our 'ls' works for years. b) Remove comment expressed 2 fears: 1) One just simple describe how strcoll() works in _any_ context, not for directories only. Are we plan to remove strcoll() from everything just because it is little more complex than strcmp()? I doubt, and directories give nothing different here. Moreover, strcoll() used in 'ls' for years and nobody complaints yet. 2) Plain wrong statement about undefined strcoll() behaviour. strcoll() always gives predictable results, falling back to strcmp() on any trouble, see strcoll(3). No objections from -current list discussion.
* Add command-line option -dev to set the default value of the currdevmarcel2010-01-182-14/+58
| | | | | | | variable. This is to be used by the EFI boot manager. While here, re-factor the code a little bit and bump the version to 2.1.
* - Allow clock subsystem to be compiled without the apic support [0]attilio2010-01-174-6/+5
| | | | | | | | - ATPIC, on pc98 is never defined somewhere, differently from i386. Turn its compilation to be conditional as i386 does. [1] [0] Reported by: nyan [1] Submitted by: nyan
OpenPOWER on IntegriCloud