Hi! > + page_size = SAFE_SYSCONF(_SC_PAGESIZE); > + fd = SAFE_OPEN("/sys/kernel/security/lsm", O_RDONLY); > + SAFE_READ(0, fd, data, BUFSIZ); > + SAFE_CLOSE(fd); > + > + ptr = strtok(data, ","); > + > + while (ptr != NULL) { This is usually just while (ptr) { Anyways: Reviewed-by: Cyril Hrubis <chrubis@suse.cz> -- Cyril Hrubis chrubis@suse.cz