Displaying 3 results from an estimated 3 matches for "check_mod".
Did you mean:
check_mode
2015 Jan 15
1
[PATCH] mknod: filter modes in mkfifo, mknod_b, mknod_c (RHBZ#1182463).
...+++
generator/actions.ml | 21 ++++++++++++++++++---
2 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/daemon/mknod.c b/daemon/mknod.c
index 7f71210..9af8701 100644
--- a/daemon/mknod.c
+++ b/daemon/mknod.c
@@ -38,6 +38,15 @@ optgroup_mknod_available (void)
return 1;
}
+#define CHECK_MODE \
+ do { \
+ if ((mode & ~07777) != 0) { \
+ reply_with_error ("%o: mode must specify only file permission bits", \
+ (unsigned int) mode); \
+ return -1; \
+ } \
+ } while (0)
+
int
do_mknod (int mode, int devmajor, int devminor, const char...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...turn ret.argv;
-error:
+ error:
if (ret.argv != NULL)
free_stringslen (ret.argv, ret.size);
diff --git a/daemon/mknod.c b/daemon/mknod.c
index 9af8701..d2ae02d 100644
--- a/daemon/mknod.c
+++ b/daemon/mknod.c
@@ -38,13 +38,13 @@ optgroup_mknod_available (void)
return 1;
}
-#define CHECK_MODE \
- do { \
- if ((mode & ~07777) != 0) { \
+#define CHECK_MODE \
+ do { \
+ if ((mode & ~07777) != 0) { \
reply_with_error ("%o: mode must specify only file permission bits", \
- (unsigned int) mode); \
- return -1; \...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67