]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/basic/chattr-util.h
util: introduce memcmp_safe()
[thirdparty/systemd.git] / src / basic / chattr-util.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
c8b3094d
LP
2#pragma once
3
c8b3094d
LP
4int chattr_fd(int fd, unsigned value, unsigned mask);
5int chattr_path(const char *p, unsigned value, unsigned mask);
6
7int read_attr_fd(int fd, unsigned *ret);
8int read_attr_path(const char *p, unsigned *ret);