2017-11-18 17:09:20 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1+ */
|
2015-10-26 20:39:23 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
/***
|
|
|
|
This file is part of systemd.
|
|
|
|
|
|
|
|
Copyright 2010 Lennart Poettering
|
|
|
|
***/
|
|
|
|
|
|
|
|
int chattr_fd(int fd, unsigned value, unsigned mask);
|
|
|
|
int chattr_path(const char *p, unsigned value, unsigned mask);
|
|
|
|
|
|
|
|
int read_attr_fd(int fd, unsigned *ret);
|
|
|
|
int read_attr_path(const char *p, unsigned *ret);
|