Searched refs:chan_stat (Results 1 – 1 of 1) sorted by relevance
1739 struct stat chan_stat; in sysevent_open_channel_common() local1756 if (stat(channel_path, &chan_stat) != 0) { in sysevent_open_channel_common()1761 } else if (chan_stat.st_uid != getuid() || in sysevent_open_channel_common()1762 !S_ISDIR(chan_stat.st_mode)) { in sysevent_open_channel_common()1765 (int)chan_stat.st_uid, (int)chan_stat.st_gid, in sysevent_open_channel_common()1766 (int)chan_stat.st_mode); in sysevent_open_channel_common()1818 struct stat chan_stat; in sysevent_open_channel() local1851 if (stat(CHAN_PATH, &chan_stat) < 0) { in sysevent_open_channel()