clang-format

This commit is contained in:
Gavin Hayes 2023-02-24 10:48:00 -05:00
parent 8b5a6ad642
commit 2c9e197843
2 changed files with 8 additions and 6 deletions

View file

@ -78,7 +78,8 @@ int sys_execve(const char *prog, char *const argv[], char *const envp[]) {
char **shargs;
const char *ape;
struct ZiposUri uri;
if (_weaken(__zipos_parseuri) && (_weaken(__zipos_parseuri)(prog, &uri) != -1)) {
if (_weaken(__zipos_parseuri) &&
(_weaken(__zipos_parseuri)(prog, &uri) != -1)) {
rc = _weaken(__zipos_open)(&uri, O_RDONLY | O_CLOEXEC, 0);
if (rc != -1) {
const int zipFD = rc;

View file

@ -192,7 +192,8 @@ int fexecve(int fd, char *const argv[], char *const envp[]) {
BEGIN_CANCELLATION_POINT;
BLOCK_SIGNALS;
strace_enabled(-1);
memfdReq = ((rc = fcntl(fd, F_GETFD)) != -1) && (rc & FD_CLOEXEC) && IsAPEFd(fd);
memfdReq = ((rc = fcntl(fd, F_GETFD)) != -1) && (rc & FD_CLOEXEC) &&
IsAPEFd(fd);
strace_enabled(+1);
ALLOW_SIGNALS;
END_CANCELLATION_POINT;