Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



Module Name:    src
Committed By:   xtraeme
Date:           Tue Jul 17 15:43:08 UTC 2007

Modified Files:
        src/sys/dev/sysmon: sysmon_envsys.c
        src/usr.sbin/envstat: envstat.c

Log Message:
Only allow to use ENVSYS_SETDICTIONARY if the user has write permission
in the /dev/sysmon device.

Use O_RDONLY for ENVSYS_GETDICTIONARY and O_RDWR for ENVSYS_SETDICTIONARY
in envstat(8).

Fixes PR kern/36661 by YAMAMOTO Takashi.


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/sys/dev/sysmon/sysmon_envsys.c
cvs rdiff -r1.35 -r1.36 src/usr.sbin/envstat/envstat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index