OpenBSD CVS

CVS log for src/etc/etc.i386/sysctl.conf


[BACK] Up to [local] / src / etc / etc.i386

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.22 / (download) - annotate - [select for diffs], Wed May 8 15:30:26 2024 UTC (4 weeks, 3 days ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored)

- for pwraction, point to acpibtn(4)
- for lidaction, document the value 0
- for lidaction, adjust the description to a format similar
to that of pwraction

ok kettenis deraadt

Revision 1.21 / (download) - annotate - [select for diffs], Thu Mar 2 10:38:09 2017 UTC (7 years, 3 months ago) by natano
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, 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, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 (colored)

Add a new sysctl machdep.lidaction. The sysctl works as follows:

machdep.lidaction=0	# do nothing
machdep.lidaction=1	# suspend
machdep.lidaction=2	# hibernate

lidsuspend is just an alias for lidaction, so if you change one, the
other one will have the same value. The plan is to remove
machdep.lidsuspend eventually when people have upgraded their
/ets/sysctl.conf.

discussed with deraadt, who came up with the new MIB name
no objections mlarkin
ok stsp halex jcs

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 3 12:41:29 2016 UTC (8 years, 3 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.19: +0 -2 lines
Diff to previous 1.19 (colored)

Remove option USER_LDT and everything depending on it.
Remove machdep.userldt sysctl.
Remove i386_[gs]et_ldt syscall stub from libi386.
Remove i386_[gs]et_ldt regression test.

ok mlarkin@ millert@ guenther@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 29 19:44:07 2016 UTC (8 years, 3 months ago) by naddy
Branch: MAIN
Changes since 1.18: +0 -1 lines
Diff to previous 1.18 (colored)

delete the kern.emul/KERN_EMUL sysctl bits since there are no
emulations left; ok millert@ deraadt@, jmc@ (man pages)

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 16 20:30:24 2015 UTC (8 years, 11 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

Typos in comments; Ville Valkonen

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 20 07:00:05 2015 UTC (9 years, 4 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.16: +1 -1 lines
Diff to previous 1.16 (colored)

Change the machdep.lidsupsend example now that the default setting has been
inverted.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 17 10:21:59 2013 UTC (10 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.15: +0 -1 lines
Diff to previous 1.15 (colored)

a.out emulation went away

Revision 1.15 / (download) - annotate - [select for diffs], Mon Jul 4 23:03:06 2011 UTC (12 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.14: +0 -1 lines
Diff to previous 1.14 (colored)

remove svr4 compat references

Revision 1.14 / (download) - annotate - [select for diffs], Tue Apr 5 15:36:26 2011 UTC (13 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.13: +0 -1 lines
Diff to previous 1.13 (colored)

Bye bye, kern.emul.freebsd
Pointed out by aja@

Revision 1.13 / (download) - annotate - [select for diffs], Fri Aug 6 02:43:57 2010 UTC (13 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.12: +1 -0 lines
Diff to previous 1.12 (colored)

document machdep.lidsuspend by example

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jul 5 22:26:20 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.11: +0 -1 lines
Diff to previous 1.11 (colored)

compat_bsdos is gone

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 1 17:26:52 2010 UTC (13 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.10: +0 -1 lines
Diff to previous 1.10 (colored)

another day, another compat gets removed.  today is ibcs2's turn

Revision 1.10 / (download) - annotate - [select for diffs], Tue Aug 4 18:45:44 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.9: +0 -1 lines
Diff to previous 1.9 (colored)

zap the rather useless machdep.apmwarn entries (see apm(4));
ok deraadt

Revision 1.9 / (download) - annotate - [select for diffs], Mon Mar 15 02:48:46 2004 UTC (20 years, 2 months ago) by mcbride
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 (colored)

Uncommenting machdep.apmhalt should have an effect.

ok marc@ fgsch@

Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 24 06:21:56 2003 UTC (20 years, 9 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.7: +6 -0 lines
Diff to previous 1.7 (colored)

put emul sysctls in appropriate arch.  also fix up the comments.
problems noted by fgsch@ and deraadt@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 28 00:49:09 2003 UTC (21 years, 2 months ago) by miod
Branch: MAIN
Changes since 1.6: +2 -0 lines
Diff to previous 1.6 (colored)

Add a sysctl to option USER_LDT, to control its behaviour, which will be
disabled by default.

Enable with sysctl -w machdep.userldt=1

This will allow people to use the few ports that require this functionality
to work without requiring the user to recompile a kernel.

The option USER_LDT remains in order to not increase size on the
installation media. It is now enabled in GENERIC.

Per espie@'s idea, but my diff was much simpler than his; ok deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 13 21:23:13 2001 UTC (23 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

at install time, if X is chosen, set machdep.aperature to 2 instead of 1.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 5 04:27:22 2001 UTC (23 years, 5 months ago) by marc
Branch: MAIN
Changes since 1.4: +1 -0 lines
Diff to previous 1.4 (colored)


Add i386 specific sysctl to modify halt -p processing, required to make
powerdown work correctly on some processors.   Idea from mickey@ and
smcho@tsp.korea.ac.kr.   Tested my me and angelos@.

Note: If you want to try these out you'll need to

  cd /sys/arch/i386/include &&
sudo install -m 444 -o root -g root cpu.h /usr/include/i386
cd /usr/src/sbin/sysctl && make obj && make && sudo make install

to get a sysctl that understands the new variable (machdep.apmhalt).

Revision 1.4 / (download) - annotate - [select for diffs], Sat Jul 24 23:58:20 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

shorter lines

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 6 08:03:28 1999 UTC (24 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2 (colored)

document machdep.kbdreset

Revision 1.2 / (download) - annotate - [select for diffs], Tue Feb 23 04:23:26 1999 UTC (25 years, 3 months ago) by marc
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

add machdep.apmwarc (commented out) so people know where
to change it if they so desire

Revision 1.1 / (download) - annotate - [select for diffs], Tue May 5 21:52:02 1998 UTC (26 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4

split sysctl.conf into MD and MI parts

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.