]> git.baikalelectronics.ru Git - kernel.git/commit
tmon: set umask to a reasonable value
authorNeil Horman <nhorman@tuxdriver.com>
Tue, 17 Jun 2014 20:05:09 +0000 (16:05 -0400)
committerZhang Rui <rui.zhang@intel.com>
Tue, 1 Jul 2014 14:00:51 +0000 (22:00 +0800)
commit5be3983ee57f7c5eea1a7580445069fde29d01e2
tree8b7b8eb1d6a8f88fc4b44573b824791dd5dcfd4f
parente5384b40a9ac137245dbd2288925f1e0e6be7a69
tmon: set umask to a reasonable value

Currently, the tmon umask value is set to 0, which means whatever the permission
mask in the shell are when starting tmon in daemon mode are what the permissions
of any created files will be.  We should likely set something more explicit, so
lets go with the usual 022

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
tools/thermal/tmon/tmon.c