History log of /freebsd-14.2/sbin/devd/devd.hh (Results 1 – 25 of 25)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# b3e76948 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <[email protected]>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0
# f86e6000 04-Dec-2019 Warner Losh <[email protected]>

Regularize my copyright notice

o Remove All Rights Reserved from my notices
o [email protected] everywhere
o regularize punctiation, eliminate date ranges
o Make sure that it's clear that I don't clai

Regularize my copyright notice

o Remove All Rights Reserved from my notices
o [email protected] everywhere
o regularize punctiation, eliminate date ranges
o Make sure that it's clear that I don't claim All Rights reserved by listing
All Rights Reserved on same line as other copyright holders (but not
me). Other such holders are also listed last where it's clear.

show more ...


Revision tags: release/12.1.0, release/11.3.0, release/12.0.0
# 6577e8c4 22-Sep-2018 Warner Losh <[email protected]>

We don't need shell protection for when we're expanding matches.
Don't add it. This should fix when we do regepx matches against
variables we've set and fix wifi bring up.

PR: 231441
Approved by: re

We don't need shell protection for when we're expanding matches.
Don't add it. This should fix when we do regepx matches against
variables we've set and fix wifi bring up.

PR: 231441
Approved by: re@ (kib)
Differential Revision: https://reviews.freebsd.org/D17267

show more ...


# 54aa4076 27-Jun-2018 Warner Losh <[email protected]>

Safely quote all variable expansions.

When expanding a variable set by a message from the kernel, safely
quote all arguments expanded when creating a command line for the
shell.

Reviewd by: Shawn W

Safely quote all variable expansions.

When expanding a variable set by a message from the kernel, safely
quote all arguments expanded when creating a command line for the
shell.

Reviewd by: Shawn Webb, Oliver Pinter, brd@
Sponsored by: Netflix

show more ...


Revision tags: release/11.2.0
# 7548968a 26-Jan-2018 Eitan Adler <[email protected]>

devd: readd virtual

- my C++ knowledge is old and rusty. re-add virtual


# 510a8c88 26-Jan-2018 Eitan Adler <[email protected]>

devd: minor nits

- mark usage as noreturn
- config does not need a virtual destructor


# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <[email protected]>

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.

show more ...


Revision tags: release/10.4.0, release/11.1.0
# 416823b1 24-Mar-2017 Warner Losh <[email protected]>

Use a more stream-lined version of fix_value.

Submitted by: ian@


# 192af3b7 23-Mar-2017 Warner Losh <[email protected]>

Implement quote escaping. String values may now contain " if you
it is preceded by \.

foo="I \"like\" C++"

gives the value 'I "like" C++' to the variable 'foo'. If a character
other than " follows

Implement quote escaping. String values may now contain " if you
it is preceded by \.

foo="I \"like\" C++"

gives the value 'I "like" C++' to the variable 'foo'. If a character
other than " follows the \, both the \ and that character are passed
through.

Differential Revision: https://reviews.freebsd.org/D6286
Sponsored by: Netflix

show more ...


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0
# 1d9bf149 04-Mar-2013 Eitan Adler <[email protected]>

devd: Remove unnecessary empty default constructors.

Submitted by: Christoph Mallon <[email protected]>
Approved by: cperciva (mentor)


# 012148ab 04-Mar-2013 Eitan Adler <[email protected]>

devd: Remove empty virtual destructor from class, which has noch subclasses.

Submitted by: Christoph Mallon <[email protected]>
Approved by: cperciva (mentor)


# 6d58c721 04-Mar-2013 Eitan Adler <[email protected]>

devd: Use the standard constructor of std::string instead of string("").

Submitted by: Christoph Mallon <[email protected]>
Approved by: cperciva (mentor)


# 11fd1366 04-Mar-2013 Eitan Adler <[email protected]>

Constify where possible.

Approved by: cperciva (mentor)


# 5dfc0f6c 30-Jan-2013 Ian Lepore <[email protected]>

Improve devd startup time, by tweaking some string handling routines that are
heavily used when parsing config files. Mostly these changes avoid making
temporary copies of the strings, and avoid doi

Improve devd startup time, by tweaking some string handling routines that are
heavily used when parsing config files. Mostly these changes avoid making
temporary copies of the strings, and avoid doing byte at a time append
operations, on the most-used code path.

On a 1.2 GHz ARM processor this reduces the time to parse the config files
from 13 to 6 seconds.

Reviewed by: imp
Approved by: cognet (mentor)

show more ...


# c3fa0037 06-Dec-2012 Eitan Adler <[email protected]>

Prefer the use of initalizer lists to ctor assignment.

Approved by: cperciva
MFC after: 2 weeks


# ef370346 06-Dec-2012 Eitan Adler <[email protected]>

Constify where possible

Approved by: cperciva
MFC after: 2 weeks


Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0
# b884d5e8 17-Dec-2011 Dimitry Andric <[email protected]>

In sbin/devd/devd.h, 'event_proc' and 'eps' are declared as structs. In
devd.hh, there are redeclared as classes. Fix the inconsistency.

MFC after: 1 week


# 0321b694 26-Oct-2011 Hiroki Sato <[email protected]>

- Add support for a "!" character in regex matching in devd(8). It inverts
the logic (true/false) of the matching.

- Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default
devd.

- Add support for a "!" character in regex matching in devd(8). It inverts
the logic (true/false) of the matching.

- Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default
devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached.

Reviewed by: imp

show more ...


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0
# b8f92ce4 29-Jun-2010 Warner Losh <[email protected]>

Expand system into my_system, and add the necessary tidyness that we
need. Close the pidfile. Then close all descriptors >= 3 to avoid
information leakage to children.

This solves the problem of n

Expand system into my_system, and add the necessary tidyness that we
need. Close the pidfile. Then close all descriptors >= 3 to avoid
information leakage to children.

This solves the problem of not being able to restart devd when you
have, for example, a dhclient forked to configure your network...

MFC after: 3 days

show more ...


Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0
# ec4a9b7c 21-Dec-2007 Warner Losh <[email protected]>

Minor initialization change to not trigger bogus gcc warning about
passing literal strings to the constructors of string.


Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0
# 1a0cc6b1 30-Jan-2006 Pawel Jakub Dawidek <[email protected]>

Use pidfile(3).

OK'ed by: imp


Revision tags: release/6.0.0_cvs, release/6.0.0
# cd70782b 10-Jul-2005 Warner Losh <[email protected]>

Add the ability to match the on a media type of the device in question.

Submitted by: sam
Approved by: re (scottl)


Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0
# 842ccec5 24-Oct-2003 Warner Losh <[email protected]>

Parse the ! lines that will soon be coming from the kernel. These are
a generalized notification mechanism for subsystems wishing to report
events.

Revieded by: njl

# The kernel side seems like it

Parse the ! lines that will soon be coming from the kernel. These are
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.

show more ...


Revision tags: release/5.1.0_cvs, release/5.1.0
# 6aeeca8e 26-Apr-2003 Warner Losh <[email protected]>

Create a new C++ header file called devd.hh which has all the class
definitions in it. Begin to document the classes that we use, and how
they interrelate (using comments that I can use with doxygen

Create a new C++ header file called devd.hh which has all the class
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).

show more ...