summaryrefslogtreecommitdiff
path: root/corebinutils/chflags/README.md
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 18:23:27 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 18:23:27 +0300
commitccef0af007fdeea4d0bcc3c182629d580f05892b (patch)
tree398228e55fbc4eed7e5dc62562bb4e53cc09d431 /corebinutils/chflags/README.md
parentd857ba85ce6b1c2b1309df6f39a5a2a57aa335de (diff)
parente9b78def2f086a356ec092a7f9af1e1613749efe (diff)
downloadProject-Tick-ccef0af007fdeea4d0bcc3c182629d580f05892b.tar.gz
Project-Tick-ccef0af007fdeea4d0bcc3c182629d580f05892b.zip
Add 'corebinutils/chflags/' from commit 'e9b78def2f086a356ec092a7f9af1e1613749efe'
git-subtree-dir: corebinutils/chflags git-subtree-mainline: d857ba85ce6b1c2b1309df6f39a5a2a57aa335de git-subtree-split: e9b78def2f086a356ec092a7f9af1e1613749efe
Diffstat (limited to 'corebinutils/chflags/README.md')
-rw-r--r--corebinutils/chflags/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/corebinutils/chflags/README.md b/corebinutils/chflags/README.md
new file mode 100644
index 0000000000..3b25c556ff
--- /dev/null
+++ b/corebinutils/chflags/README.md
@@ -0,0 +1,24 @@
+# chflags
+
+Standalone musl-libc-based Linux port of FreeBSD `chflags` for Project Tick BSD/Linux Distribution.
+
+## Build
+
+```sh
+gmake -f GNUmakefile
+gmake -f GNUmakefile CC=musl-gcc
+```
+
+## Test
+
+```sh
+gmake -f GNUmakefile test
+gmake -f GNUmakefile test CC=musl-gcc
+```
+
+## Notes
+
+- Port strategy is minimum-diff: the original traversal and CLI flow stay in `chflags.c`.
+- `fts(3)` is provided locally in this project because musl does not ship `<fts.h>`.
+- Linux flag handling is implemented with `FS_IOC_GETFLAGS` and `FS_IOC_SETFLAGS`.
+- Only the Linux-mappable subset of FreeBSD flag names is supported in this phase.