#
b7041c07 |
| 24-Oct-2021 |
deraadt <deraadt@openbsd.org> |
For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which mig
For open/openat, if the flags parameter does not contain O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant. Many developers in the past have passed mode_t (0, 044, 0644, or such), which might lead future people to copy this broken idiom, and perhaps even believe this parameter has some meaning or implication or application. Delete them all. This comes out of a conversation where tb@ noticed that a strange (but intentional) pledge behaviour is to always knock-out high-bits from mode_t on a number of system calls as a safety factor, and his bewilderment that this appeared to be happening against valid modes (at least visually), but no sorry, they are all irrelevant junk. They could all be 0xdeafbeef. ok millert
show more ...
|
#
f1880105 |
| 24-Oct-2017 |
jsg <jsg@openbsd.org> |
remove defines for ioctls the kernel doesn't recognise ok mpi@
|
#
ceaf4be1 |
| 26-Oct-2015 |
deraadt <deraadt@openbsd.org> |
Stop writing a pidfile ok benno jung
|
#
7c620f4a |
| 23-Dec-2014 |
shadchin <shadchin@openbsd.org> |
Remove function mouse_map. This function is redundant.
ok zhuk@
|
#
8923421a |
| 22-Dec-2014 |
shadchin <shadchin@openbsd.org> |
Now does not need to be initialized event.value. This not used anymore.
ok deraadt@
|
#
bd203825 |
| 21-Dec-2014 |
shadchin <shadchin@openbsd.org> |
Cleanup - remove event WSCONS_EVENT_WSMOUSED_SLEEP, WSCONS_EVENT_WSMOUSED_CLOSE. Do not need it now.
ok mpi@
|
#
ca868585 |
| 14-May-2014 |
shadchin <shadchin@openbsd.org> |
Remove mouse.baudrate, it is always 1200.
ok miod@
|
#
5e88cf02 |
| 14-May-2014 |
shadchin <shadchin@openbsd.org> |
Remove unused code.
ok miod@
|
#
8cb0b11a |
| 14-May-2014 |
shadchin <shadchin@openbsd.org> |
Remove unused variables.
ok miod@
|
#
2bfe0399 |
| 24-Nov-2013 |
deraadt <deraadt@openbsd.org> |
more unsigned char casts for ctype ok jca
|
#
a9fa58fd |
| 18-Apr-2013 |
deraadt <deraadt@openbsd.org> |
struct timezone is so 1980
|
#
fca39c33 |
| 18-Oct-2011 |
djm <djm@openbsd.org> |
delay daemon fork() until after initialisation has completed to fix rc race that caused X11 to fail to open /dev/wsmouse; ok stsp miod
|
#
6c2da34c |
| 22-Mar-2011 |
okan <okan@openbsd.org> |
use timerclear macro
ok miod@
|
#
5015c596 |
| 21-Jun-2009 |
jacekm <jacekm@openbsd.org> |
Support mouses with lots of buttons. Also, fix a crash when pressing a button that's outside of the hardcoded range; miod@ ok
|
#
be45c8af |
| 05-Jun-2009 |
miod <miod@openbsd.org> |
Add the ability to attach wsmoused to a different wsdisplay than wsdisplay0 (i.e. ttyCcfg) with the new -D option.
While there, a lot of cleanup, including not creating a pidfile by default (since t
Add the ability to attach wsmoused to a different wsdisplay than wsdisplay0 (i.e. ttyCcfg) with the new -D option.
While there, a lot of cleanup, including not creating a pidfile by default (since there might be more than one wsmoused running on multiple wsdisplay systems).
show more ...
|
#
0329dfd0 |
| 24-Nov-2007 |
miod <miod@openbsd.org> |
Since switches from X to consoles are aysnchronous, wsmoused(8) can be awakened before the X server has release the mouse device. Instead of an arbitrary sleep, loop (with increasing delays) until we
Since switches from X to consoles are aysnchronous, wsmoused(8) can be awakened before the X server has release the mouse device. Instead of an arbitrary sleep, loop (with increasing delays) until we can open the device again.
Found the hard way and tested by jmc@
show more ...
|
#
b729828d |
| 18-Sep-2007 |
otto <otto@openbsd.org> |
use C99 explicit struct initializer instead of deprecated gcc 2.5 style. ok miod@ millert@
|
#
2fc38322 |
| 10-Apr-2007 |
miod <miod@openbsd.org> |
Add support for a fourth axis on wsmouse devices, e.g. on the Apple Might Mouse. Currently limited to USB mice.
Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
|
#
a944d3f7 |
| 17-Apr-2006 |
deraadt <deraadt@openbsd.org> |
setjmp.h not used
|
#
a6786888 |
| 12-Aug-2005 |
jmc <jmc@openbsd.org> |
prefer a simpler synopsis: we do not really need a separate case for -i;
|
#
646a87f3 |
| 04-Jan-2004 |
drahn <drahn@openbsd.org> |
gcc3 doesn't like varargs, it was found that the varargs.h inclusion is unnecessary for these files, delete. ok espie@
|
#
710cba55 |
| 22-Dec-2003 |
miod <miod@openbsd.org> |
No need to setup a signal handler for SIGKILL as you can't catch it anyway.
|
#
bc29010b |
| 08-Nov-2003 |
jmc <jmc@openbsd.org> |
- correct SYNOPSIS - sort options - sync usage() - new sentence, new line
|
#
ca198d9f |
| 26-Sep-2003 |
deraadt <deraadt@openbsd.org> |
check strdup failure; ok anil millert
|
#
0a42a665 |
| 13-Apr-2003 |
jmc <jmc@openbsd.org> |
try to use the X Window System, X11 or XFree86 consistently.
diffs from Paul Weismann, via mickey@ aided, abetted and ok'd matthieu@
|