aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog.txt
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2016-01-22 15:15:36 -0600
committerPeter Seebach <peter.seebach@windriver.com>2016-01-22 15:15:57 -0600
commit735ac1b9ff7471b100f6758f9072bfd45e0e3f40 (patch)
tree1329b33c82cc5636dbb1c73672869cec5ee4ec0c /ChangeLog.txt
parent3bc3909fa70535c2ef876009dc58e577b10a7e0e (diff)
downloadpseudo-735ac1b9ff7471b100f6758f9072bfd45e0e3f40.tar.gz
pseudo-735ac1b9ff7471b100f6758f9072bfd45e0e3f40.tar.bz2
pseudo-735ac1b9ff7471b100f6758f9072bfd45e0e3f40.zip
Fix mknod(...) with no file type bits
mknod(2) automatically defaults to S_IFREG if not given an explicit file type, so pseudo should too. Otherwise, GNU tar can (for some reason, it mostly does this when extracting xattrs?) invoke mknod instead of open with O_CREAT to create a file, and just provide the permission bits, and pseudo creates a "weird file" with no type bits in the database, which is unhelpful. Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Diffstat (limited to 'ChangeLog.txt')
-rw-r--r--ChangeLog.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 5431f1e..cac7d63 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,6 @@
+2016-01-22:
+ * (seebs) Mask in S_IFREG when mknod called with no S_IFMT bits.
+
2015-09-22:
* (seebs) Fix modes after fopen/fopen64.