Lines Matching refs:fname
89 char *fname = NULL;
102 fname = (char *)malloc(sizeof(char) * len);
103 if (!fname)
105 snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, name);
107 fd = open(fname, O_RDONLY);
116 free(fname);
121 if (fname)
122 free(fname);
164 char buf[2], *fname;
176 fname = (char *)malloc(sizeof(char) * len);
177 if (!fname)
179 snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, name);
181 fd = open(fname, O_WRONLY);
196 free(fname);