#
5b133f3f |
| 08-Mar-2023 |
guenther <guenther@openbsd.org> |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
#
bc5a8259 |
| 12-Jul-2021 |
beck <beck@openbsd.org> |
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
Work done and verified by A
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
Work done and verified by Ashton Fagg <ashton@fagg.id.au>
ok deraadt@ semarie@ claudio@
show more ...
|
#
29688a32 |
| 22-Jul-2020 |
bluhm <bluhm@openbsd.org> |
sensorsd(8) reported an unveil failure due to chdir / . Call chdir(2) before unveil(2). Use absolute config path after chdir, also necessary for SIGHUP. /etc/sensorsd.conf.db must be unveiled, cge
sensorsd(8) reported an unveil failure due to chdir / . Call chdir(2) before unveil(2). Use absolute config path after chdir, also necessary for SIGHUP. /etc/sensorsd.conf.db must be unveiled, cgetent(3) tries to open it. OK beck@
show more ...
|
#
df69c215 |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
show more ...
|
#
b65d5aa7 |
| 31-May-2019 |
schwarze <schwarze@openbsd.org> |
Fix previous: create() got inadvertently moved after parse_config(), which effectively caused the config file to be ignored. So move parse_config() back after create(). OK deraadt@
|
#
a736fa3e |
| 16-May-2019 |
deraadt <deraadt@openbsd.org> |
unveil code was unaware of -f option. From Anton Borowka. ok sthen
|
#
31d62911 |
| 10-Dec-2018 |
landry <landry@openbsd.org> |
Add a velocity sensor type (displayed as m/s)
Change distance sensor type to be displayed as meters with 3 decimals instead of millimeters.
ok mpi@ kettenis@
|
#
6c26a4b7 |
| 22-Oct-2018 |
deraadt <deraadt@openbsd.org> |
unveil support is a bit amusing. /etc/sensorsd.conf with "r", and "/" for 'x' so that scripts can be run anywhere in the filesystem (intended behaviour). The latter may seem very permissive, but it
unveil support is a bit amusing. /etc/sensorsd.conf with "r", and "/" for 'x' so that scripts can be run anywhere in the filesystem (intended behaviour). The latter may seem very permissive, but it is less permissive than "rwxc" .... ok mestre, a while back
show more ...
|
#
017ace1e |
| 20-Mar-2017 |
bluhm <bluhm@openbsd.org> |
Add command line option -f to specify alternative config file. from Matthias Pitzl
|
#
23ec78db |
| 27-Aug-2016 |
guenther <guenther@openbsd.org> |
Pull in <sys/time.h> for struct timespec, timeval, or clockrate
ok deraadt@
|
#
580f3da4 |
| 12-Dec-2015 |
mmcc <mmcc@openbsd.org> |
Remove NULL-checks before free().
|
#
508da96d |
| 19-Nov-2015 |
deraadt <deraadt@openbsd.org> |
pledge "stdio rpath proc exec"
|
#
ae052611 |
| 19-Nov-2015 |
deraadt <deraadt@openbsd.org> |
KNF
|
#
45337c8a |
| 15-Jun-2015 |
millert <millert@openbsd.org> |
get_val() already frees the buffer passed to it so we don't need to do it in the caller.
|
#
9e4c6648 |
| 02-Jun-2015 |
millert <millert@openbsd.org> |
Don't leak value returned by cgetstr(). OK deraadt@
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
show more ...
|
#
8edcd8a8 |
| 29-Jun-2014 |
deraadt <deraadt@openbsd.org> |
If you want <sys/queue.h>, you need to include it. Don't assume that <sys/sysctl.h> will pull in the universe (I am working on breaking that assumption in a gentle fashion)
|
#
d95200b8 |
| 20-Sep-2012 |
yuo <yuo@openbsd.org> |
add more sensor types to sensor framework. - Pressure (10^-3 Pa) - distance (10^-6 m) - acceleration (10^-6 m/s^2)
ok deraadt@ reyk@
|
#
cc1bdb91 |
| 16-Sep-2011 |
yuo <yuo@openbsd.org> |
add lacked cases of sensors value, and fix orders.
|
#
ea99e918 |
| 16-Sep-2011 |
yuo <yuo@openbsd.org> |
apply following changes to sensor framework: - change accuracy of SENSOR_FREQ from Hz to muHz - add SENSOR_VOLTS_AC entry to userland programs
ok deraadt@
|
#
8e60fd2a |
| 21-Apr-2010 |
deraadt <deraadt@openbsd.org> |
Add the "angle" sensor, measured in degrees; from Luis Pinto
|
#
f7811f45 |
| 20-Apr-2010 |
deraadt <deraadt@openbsd.org> |
Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handled by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the
Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handled by returning ENXIO instead of ENOENT, to essentially indicate hotplug sensor that has gone away. Accessing beyond the end of the sensordev list still returns ENOENT, so that you can see there are no further devices. ok kettenis oga
show more ...
|
#
0ae663d1 |
| 14-Aug-2009 |
cnst <cnst@openbsd.org> |
SENSOR_WATTS; ok canacar deraadt kettenis henning
|
#
ead34797 |
| 14-Jun-2008 |
cnst <cnst@openbsd.org> |
When there are no sensors, don't run the hotplugging consistency check, the logic of which assumes that there is at least one sdlim. ok henning
|
#
b32bcfa8 |
| 11-Jun-2008 |
cnst <cnst@openbsd.org> |
When a hotplugged sensordev appears, load its configuration individually, instead of reloading the configuration for all sensordevs. ok henning
|