]> git.ipfire.org Git - thirdparty/systemd.git/commit
smack-util: several cleanups 36228/head
authorMike Yuan <me@yhndnzj.com>
Thu, 30 Jan 2025 14:33:13 +0000 (15:33 +0100)
committerMike Yuan <me@yhndnzj.com>
Sun, 9 Feb 2025 13:51:04 +0000 (14:51 +0100)
commit3c06e2efb8de6c6d1e969620b91183cfc66798d3
tree322aaa0369d75f2252f13ca3c6af48c84960c703
parent61b3d116ee1dc639220bbacb691cae3d26d068a2
smack-util: several cleanups

- Make _read_at and _apply_at variants the "canonical" functions
  (which leverage xsetxattr()/xremovexattr()), turn others
  into static inline helpers
- Unexport string table lookup (not used anywhere else)
- Define nop functions as static inline if !ENABLE_SMACK
src/shared/smack-util.c
src/shared/smack-util.h