| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The 'sc' variable was originally storing the return value of mkdir().
This was causing an issue, so it was changed to make it to where we
ignored the return value with (void). The 'sc' variable was left in
by mistake.
|
|
|
|
|
|
|
|
|
|
|
| |
At this point in time, /etc can be created in multiple ways. There
is a discussion (#4354) that would define a mechanism for
instantiating a base file system with some flexibility for the
set of directories included. For now, this particular mkdir()
call can fail because /etc could already have been created by
at least an initial filesystem image, the shell, or libbsd.
closes #4382.
|
|
|
|
|
|
|
|
| |
Removed the _Assert_unused_variable_equals macro due to /etc
having already been created by the network stack initialization
or an initial filesystem image.
Closes #4282
|
|
|
|
|
|
| |
CID 1255518: Unchecked return value from library in pwdgrp_init().
Closes #4282
|
|
|
|
|
|
|
|
| |
Use the following variant which was already used by most source files:
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
|
| |
|
| |
|
|
|
|
|
|
| |
Coverity Id 1255518. mkdir() could fail. Check return value and return
on failure. Behavior is similar to if open() failed while writing the
files.
|
| |
|
|
|
|
|
| |
Create a minimal /etc/passwd and /etc/group with user root and group
root only with no passwords.
|
| |
|
| |
|
|
|