| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
passing literal strings to the constructors of string.
|
|
|
|
| |
on at least arm and sparc64. i386/pc98, ia64 and amd64 are all OK.
|
| |
|
|
|
|
| |
Not fixed: the description of media-type is completely bogus.
|
|
|
|
|
|
|
|
|
| |
gramatical tweaks along w/ sorting the list, and adding that serial is
available for USB....
PR: 85097
Submitted by: Fredrik Lindberg
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
Reset it to 1 for each devd config file so if the parser finds
a syntax error devd(8) will report a correct line number.
Submitted by: Niki Denev
MFC after: 2 weeks
|
|
|
|
| |
OK'ed by: imp
|
|
|
|
| |
insensitive. Make it so.
|
| |
|
|
|
|
|
|
| |
Wojciech A. Koszek.
Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
|
|
|
|
| |
Approved by: imp
|
|
|
|
|
|
|
| |
that future variable shadowing bugs don't compile.
Reviewed by: imp
Compiled on: alpha i386 sparc64
|
|
|
|
|
|
|
|
| |
that just uses the variable and throws it away.
This should fix the subsystem keyword wrt media-type.
MFC After: 2 days
|
|
|
|
|
|
|
| |
In those contexted, use subsystem instead.
# This causes dhclient to run again when I plug in my ethernet cable to
# my fxp card in my laptop.
|
|
|
|
|
|
|
|
|
|
| |
from this socket
* Enable non-blocking I/O on devd.pipe to keep clients from wedging devd.
If a write(2) on devd.pipe would block, the client in question will be
removed [1]
Requested by: rwatson [1]
Approved by: imp
|
|
|
|
|
|
|
| |
on socket file descriptors.
Reviewed by: secteam (cperciva)
Approved by: imp
|
|
|
|
|
| |
Submitted by: sam
Approved by: re (scottl)
|
|
|
|
| |
Submitted by: Fredrik Lindberg
|
|
|
|
| |
minor debug fix.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Prompted by
PR: docs/73668
Submitted by: Dan Pelleg
MFC After: 3 days
|
| |
|
|
|
|
| |
in over the socket.
|
|
|
|
|
|
|
|
|
|
| |
a generalized notification mechanism for subsystems wishing to report
events.
Revieded by: njl
# The kernel side seems like it might be causing panics for me, but should
# be forthcoming shortly.
|
| |
|
|
|
|
|
|
|
| |
need for libstdc++ in /lib, and the generated binary is actually smaller
statically linked than dynamically + sizeof(libstdc++). Additionally,
devd doesn't use get*by*() which is one of the main motivations for
dynamically linking your root partition anyway.
|
| |
|
| |
|
|
|
|
|
|
|
| |
give the wrong pid.
Submitted by: ru and Lukas Ertl
PR: 54113
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one or more actions in the list. This makes constructs like:
attach 10 {
// echo "Driver $device_name attached"
};
to be accepted by the parser. It will be treated as if the user had
entered:
// attach 10 {
// echo "Driver $device_name attached"
// };
(eg totally ignored).
Approved by: re@ (rwatson)
|
|
|
|
|
|
|
| |
However, since NULL was used, and this is C++, this error went
undetected until g++ 3.3 somehow managed to whine about it.
Reported by: obrien
|
|
|
|
|
|
| |
definitions in it. Begin to document the classes that we use, and how
they interrelate (using comments that I can use with doxygen to
automatically generate docs with).
|
|
|
|
| |
before the last commit.
|
|
|
|
|
|
|
|
| |
expand one from using a fixed buffer to using a string which
dynamically allocates these things.
Submitted by: green@ (against an earlier version of devd)
Ignored for too long by: imp
|
|
|
|
|
|
|
|
| |
Also, put a small work around into devd to prevent a hang on boot this
would cause because select used to return 2 rather than 0 for no
evetnts due to a bug I fixed a few days ago in subr_bus.c. I'll
remove this workaround May 7th. You have until then to upgrade your
kernel if you want to run a new devd with an older kernel.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'd': now means don't do daemon().
'D': Debug
'n': Don't wait to process all pending events before calling daemon.
In the past, devd would call daemon immediately. However, this causes
a race. If anything in the boot process depends on configuring the
devices configured by devd, maybe they would be configured in time,
maybe not. Now we don't call daemon until all pending events are
processed, unless -n is specified.
# -n is actually the default for a while due to the select(2) bug in devctl
# that I just fixed to give people a chance to upgrade.
|
|
|
|
|
|
|
|
|
| |
to 0 when we startup. Print a warning in this case. This allows
people that are playing with devd by hand to have something happen.
Otherwise, it appears that devd isn't working because /dev/devctl is
disabled and producing no events.
Suggested by: peter on irc a long time ago.
|
|
|
|
|
|
|
|
|
|
|
| |
'a="b" c="d" at loc=1 on busN' properly set 'c' and process the rest of
the stirng. Before it would ignore everything after variable 'a'.
o Parse nomatch and other events differently. They are more different
than the code allowed for, so we weren't properly parsing nomatch
events. It appears this fixes some of the demand loading issues that
I was having with devd.
Noticed by: Gary Palmer
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: joe
|