History log of /openbsd/sys/dev/wscons/wsdisplay_compat_usl.c (Results 1 – 25 of 34)
Revision Date Author Comments
# 3b9d585e 13-Apr-2024 jsg <jsg@openbsd.org>

correct indentation

no functional change, found by smatch warnings
ok miod@ bluhm@


# c75bac9b 03-Sep-2020 kettenis <kettenis@openbsd.org>

The "USL" VT switch and keyboard ioctls are a hack and don't follow the
proper BSD way where the third argument is always a pointer and data is
transferred between userland and kernel using copyin(9)

The "USL" VT switch and keyboard ioctls are a hack and don't follow the
proper BSD way where the third argument is always a pointer and data is
transferred between userland and kernel using copyin(9) and copyout(9).
Intead an int is encoded in the thirs argument. This works on 32-bit
architectures and little-endian 64-bit architectures. But not on
big-endian 64-bit architectures. Deal with this by handling the argument
as long (which matches the size of a pointer).

Hopefully we can eliminate these ioctls in the near future.

ok deraadt@

show more ...


# 43524b26 23-Jan-2017 deraadt <deraadt@openbsd.org>

Only allow change-setting ioctls when FWRITE is set on the descriptor.
ok I forget who


# 2ac02001 24-Apr-2016 matthieu <matthieu@openbsd.org>

Remove 'option COMPAT_PCVT' now that X doen't use it anymore.
An X server built after april 3 is needed to be able to start X with
the new kernel.
ok kettenis@


# 735bcd6f 28-Mar-2016 matthieu <matthieu@openbsd.org>

OpenBSD has stopped using the SVr4 KDENABIO/KDDISABIO ioctls for at
least 10 years. No need for special treatement on i386.

ok deraadt@, millert@, jca@


# ed7b67ff 03-Mar-2016 naddy <naddy@openbsd.org>

Remove WSDISPLAY_COMPAT_SYSCONS. We no longer run FreeBSD binary X11
servers. Pointed out by jmc@, ok deraadt@ millert@


# ea5cf8a4 08-Sep-2015 deraadt <deraadt@openbsd.org>

sizes for free(); checked by semarie


# 21dab745 14-Mar-2015 jsg <jsg@openbsd.org>

Remove some includes include-what-you-use claims don't
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@


# df2ac69f 12-Jul-2014 tedu <tedu@openbsd.org>

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# b94581b6 18-Apr-2014 guenther <guenther@openbsd.org>

For the WSDISPLAY_COMPAT_USL protocol, send the synchronizing signals to
the process, not just the thread.

ok kettenis@


# a398ae77 28-Mar-2012 deraadt <deraadt@openbsd.org>

guenther notes that s_pid must also move to match


# 03af465a 28-Mar-2012 deraadt <deraadt@openbsd.org>

Yet another ioctl-related pid value. Should be the master of the
thread, aka. p_p->ps_pid.
ok miod


# f837f6ec 05-Apr-2011 guenther <guenther@openbsd.org>

Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, no
one has been weeding it, and it makes life harder.

Toasts of Brennivin for its passing from many; diff ok henning@


# 99a59237 28-Aug-2010 miod <miod@openbsd.org>

ansify function definitions, and constify a few arrays while there.
no functional change.


# e15e1c8c 10-Sep-2008 blambert <blambert@openbsd.org>

Convert timeout_add() calls using multiples of hz to timeout_add_sec()

Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.

ok art@, krw@


# 341cd9fe 14-Feb-2007 jsg <jsg@openbsd.org>

FALLTHRU -> FALLTHROUGH for consistency.
Suggested by miod@


# 3ac73be5 16-Oct-2006 tom <tom@openbsd.org>

Fix some more "is is"s. ok otto@.


# 94e28426 29-Jul-2006 miod <miod@openbsd.org>

Do not fail KDENABIO and KDDISABIO ioctls on non-i386 platforms, this allows
older X servers to run; ok matthieu@


# cee87c53 30-Jun-2006 miod <miod@openbsd.org>

Make routines which may set PSL_IOPL consistent wrt the securelevel for
which this is allowed; ok deraadt@


# 0dbcc8a2 02-Apr-2004 deraadt <deraadt@openbsd.org>

remove terms 3 & 4 for drochner@NetBSD.org; as seen on netbsd lists


# ad392958 15-Aug-2003 tedu <tedu@openbsd.org>

change arguments to suser. suser now takes the process, and a flags
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root proces

change arguments to suser. suser now takes the process, and a flags
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@

show more ...


# 3832b9fd 11-Aug-2003 millert <millert@openbsd.org>

Add signal number sanity checking to usl_sync_init(). This is not
strictly required since the signal routines do their own sanity checks,
but this way the VT_SETMODE ioctl() gets a nice EINVAL.
Pote

Add signal number sanity checking to usl_sync_init(). This is not
strictly required since the signal routines do their own sanity checks,
but this way the VT_SETMODE ioctl() gets a nice EINVAL.
Potential problem pointed out by Jacques Vidrine; deraadt@ OK

show more ...


# 2627362d 27-Apr-2003 ho <ho@openbsd.org>

strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.


# 4f9e30d0 14-Mar-2002 millert <millert@openbsd.org>

Final __P removal plus some cosmetic fixups


# c4071fd1 14-Mar-2002 millert <millert@openbsd.org>

First round of __P removal in sys


12