OpenBSD CVS

CVS log for src/sbin/slaacd/control.c


[BACK] Up to [local] / src / sbin / slaacd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 20 16:46:03 2021 UTC (3 years, 2 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Fix SMALL build when done from sbin/slaacd

distrib/special/slaccd is the actual SMALL user but having it build from here
is useful, too;  in fact, it showed some more unused variables under SMALL.

OK florian

Revision 1.8 / (download) - annotate - [select for diffs], Tue Mar 2 04:10:07 2021 UTC (3 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

remove uneeded md5.h include
ok florian@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 19 16:49:10 2021 UTC (3 years, 4 months ago) by florian
Branch: MAIN
Changes since 1.6: +18 -2 lines
Diff to previous 1.6 (colored)

Move control_state and ctl_conns to control.c, it's not needed
elsewhere and unbreaks -fno-common.
Inspired by claudio
Problem reported by mortimer

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 11 22:53:29 2019 UTC (5 years, 2 months ago) by pamela
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

Make slaacd(8) imsg processing more paranoid. Unexpected size mismatches
mean we should no longer trust processes, so we call fatal(x). The
control socket is the exception, where we ignore rather than allow
crashes due to data from the outside.
suggestion/input and OK florian@

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 2 05:34:59 2019 UTC (5 years, 3 months ago) by pamela
Branch: MAIN
Changes since 1.4: +7 -11 lines
Diff to previous 1.4 (colored)

Introduce the IMSG_DATA_SIZE() macro to replace recurring math on
imsg.hdr.len to shorten and simplify code.
correction and OK florian@

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 4 09:36:49 2018 UTC (5 years, 10 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.3: +1 -12 lines
Diff to previous 1.3 (colored)

Leave the control socket behind on shutdown. It doesn't hurt anyone.
On the other hand it is much more powerful to get rid of cpath; slaacd
has no filesystem access whatsoever.
Triggered by mestre@'s work to fix unlinking in other daemons and a
question from deraadt@
OK mestre

Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 26 17:08:18 2018 UTC (6 years, 1 month ago) by florian
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

Add error handling to unconfuse myself when playing with pledgepath().

Revision 1.2 / (download) - annotate - [select for diffs], Sun Dec 10 10:07:54 2017 UTC (6 years, 5 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.1: +2 -4 lines
Diff to previous 1.1 (colored)

Move privileged initialization from frontend to main process.
Needed for future work where we will spin up children via
fork - privdrop - exec. Child processes will no longer come
up with root privileges.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 3 10:00:29 2017 UTC (7 years ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2

Move slaacd to /sbin
jca points out that all the other interface configuration tools live
there (like ifconfig or dhclient). Furthermore it starts so early in
the boot process that /usr might not be mounted yet if it's a nfs
filesystem.
sthen and deraadt agree

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.