| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
is solved with r202607. Now idProduct of all uath(4) devices should be
decreased after loading the firmware.
|
|
|
|
|
|
|
|
| |
TRENDnet TEW-504UB/EU) idProduct didn't be decreased after loading the
firmware.
Pointed by: Steven Friedrich <freebsd at insightbb.com>
Reviewed by: sam
|
|
|
|
| |
Administrative only: Fix AT fields for Asia/Dhaka
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Bump WARNS to 5 while being here.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
this program to compile cleanly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
years ago.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
stripeoffset is non-zero.
Pointed out by: mav
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
- 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@
|
|
|
|
| |
Spotted by: scan-build (uqs)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
due to a bug and might be the real basis for the cardbus workaround
hack.
|
| |
|
|
|
|
|
|
|
|
| |
but assume it supports a ctags(1)-compatible syntax.
PR: 46676
Submitted by: Lyndon Nerenberg
MFC after: 3 days
|
|
|
|
|
|
|
| |
"cleandepend" was not removing the .depend file; fixed.
PR: 126747
MFC after: 3 days
|
|
|
|
|
|
| |
PR: bin/125365
Approved by: trasz (mentor)
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
MFC after: 4 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Submitted by: Marius NĂ¼nnerich <marius@nuenneri.ch>
|
|
|
|
| |
Submitted by: Marius NĂ¼nnerich <marius nuenneri ch>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|
|
|
|
| |
Generalize the SACK to code handle also NR-SACKs.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
level in that case.
|
|
|
|
| |
made its way through the scrubber.
|
|
|
|
|
| |
values to match those in linux and the I-D
just released to the IETF.
|
| |
|
| |
|
|
|
|
| |
their way into FreeBSD.
|
|
|
|
|
| |
through the scrubber scripts. Scripts are
now fixed so this won't happen again.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Discussed with: rwatson
MFC after: 5 days
|