Searched refs:CONFIGPERM (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/dispadmin/ |
H A D | dispadmin.c | 63 #define CONFIGPERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) /* 0644 */ macro 305 if ((fd = open(CONFIGPATH, O_RDONLY, CONFIGPERM)) == -1) { in set_scheduler() 335 if ((fd = open(CONFIGPATH, O_RDWR | O_CREAT, CONFIGPERM)) == -1) in set_scheduler() 355 if (fchmod(fd, CONFIGPERM) == -1) in set_scheduler() 377 if ((fd = open(CONFIGPATH, O_RDONLY, CONFIGPERM)) == -1) { in set_default_class()
|
/titanic_50/usr/src/cmd/rctladm/ |
H A D | rctladm.c | 49 #define CONFIGPERM (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) /* 0644 */ macro 153 if ((fd = open(CONFIGPATH, O_WRONLY|O_CREAT|O_TRUNC, CONFIGPERM)) == -1) in rctladm_save_config() 172 (void) fchmod(fd, CONFIGPERM); in rctladm_save_config() 205 if ((fd = open(CONFIGPATH, O_RDONLY, CONFIGPERM)) == -1) in rctladm_read_config()
|