summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Raise WARNS for various tools where possible.ed2010-01-1711-11/+5
| | | | Submitted by: Marius NĂ¼nnerich <marius@nuenneri.ch>
* Mute some (hidden) warnings about old-style function definitions.ed2010-01-171-2/+2
| | | | Submitted by: Marius NĂ¼nnerich <marius nuenneri ch>
* Perform several small cleanups to the utmpx code.ed2010-01-175-60/+62
| | | | | | | | | | | | | | | | - Massively reduce BSS usage. Let futx_to_utx() dynamically allocate the structure. There is only a very small amount of applications out there that needs to use the utmpx database. Wasting 1 KB on unused structures makes little sense. - Just let getutxid() search for matching ut_id's for any *PROCESS-type. This makes the code a bit more future-proof. - Fix a POSIX-mistake: when reading POSIX and the OpenSolaris implementation, getutxline() must return USER_PROCESS and LOGIN_PROCESS records whose ut_lines match. When reading POSIX, it seems LOGIN_PROCESS should not use ut_line at the first place. I have reported this issue.
* When a vnode-backed vm object is referenced, it increments the vnodekib2010-01-172-1/+8
| | | | | | | | | | | | | | | reference count, and decrements it on dereference. If referenced object is deallocated, object type is reset to OBJT_DEAD. Consequently, all vnode references that are owned by object references are never released. vunref() the vnode in vm object deallocation code for OBJT_VNODE appropriate number of times to prevent leak. Add an assertion to the vm_pageout() to make sure that we never get reference on the vnode but then do not execute code to release it. In collaboration with: pho Reviewed by: alc MFC after: 3 weeks
* Add new function vunref(9) that decrements vnode use count (and holdkib2010-01-172-70/+54
| | | | | | | | | | count) while vnode is exclusively locked. The code for vput(9), vrele(9) and vunref(9) is merged. In collaboration with: pho Reviewed by: alc MFC after: 3 weeks
* Add forgotten break; keyword to getutxid().ed2010-01-171-0/+2
| | | | | We should not fall through to the ut_id comparison. Only ut_type should be compared when using OLD_TIME, NEW_TIME, BOOT_TIME or SHUTDOWN_TIME.
* Get rid of a lot of duplicated code for NR-SACK handle.tuexen2010-01-176-1945/+241
| | | | Generalize the SACK to code handle also NR-SACKs.
* Bug fix: If the allocation of a socket failed and werrs2010-01-171-1/+7
| | | | | | | | | freed the inpcb, it was possible to not set the proper flags on the pcb (i.e. the socket is not there). This is HIGHLY unlikely since no one else should be able to find the socket.. but for consistency we do the proper loop thing to make sure that we mark the socket as gone on the PCB.
* Unbreak builds with _FREEFALL_CONFIG=yes, by forcing a lower WARNSmarcel2010-01-171-0/+1
| | | | level in that case.
* Pulls out another leaked windows ifdef that somehowrrs2010-01-171-6/+0
| | | | made its way through the scrubber.
* This change syncs up the socketAPI stream-resetrrs2010-01-172-15/+18
| | | | | values to match those in linux and the I-D just released to the IETF.
* Small fixes.brueffer2010-01-171-3/+4
|
* More leaked ifdefs for APPLE and its mobility stuff.rrs2010-01-171-12/+0
|
* Remove another set of "leaked" ifdefs that somehow foundrrs2010-01-171-4/+0
| | | | their way into FreeBSD.
* Remove strange APPLE define that leakedrrs2010-01-171-12/+0
| | | | | through the scrubber scripts. Scripts are now fixed so this won't happen again.
* Fix a regression that was introduced in r191882.ed2010-01-171-1/+1
| | | | | | | | | | | | | I changed login_tty() to only work when the application is not a session leader yet. This works fine for applications in the base system, but it turns out various applications call this function after daemonizing, which means they already use their own session. If setsid() fails, just call tcsetsid() on the current session. tcsetsid() will already perform proper security checks. Reported by: Oliver Lehmann MFC after: 1 week
* Simplify ttyslot(3).ed2010-01-171-25/+1
| | | | | | | | | | | After comparing how other systems deal with utmp/utmpx, I noticed many systems don't even care about ttyslot(3) anymore, since utmpx doesn't use TTY slots anyway. We don't provide any tools to access old utmp files anymore, so there is no use in letting applications write to a proper offset within the utmp file. Just let ttyslot(3) always return 0, which seems to be the default behaviour on operating systems like Linux as well.
* Garbage collect references to the no longer implemented tcp_fasttimo().bz2010-01-172-2/+0
| | | | | Discussed with: rwatson MFC after: 5 days
OpenPOWER on IntegriCloud