swh:1:snp:9ca9e75279df5f4e3fee19bf5190ed672dcdfb33
- HEAD
- refs/heads/EMACS_21_1_RC
- refs/heads/FILEUTILS
- refs/heads/SHELLUTILS
- refs/heads/TEXTUTILS
- refs/heads/akim-fix-upload
- refs/heads/akim/relpath
- refs/heads/coreutils-8.9
- refs/heads/diff-merge
- refs/heads/emacs-unicode
- refs/heads/emacs-unicode-2
- refs/heads/haible-private
- refs/heads/karl
- refs/heads/lexbind
- refs/heads/master
- refs/heads/origin
- refs/heads/pygnulib
- refs/heads/python
- refs/heads/topic/libposix
- refs/heads/ueno/unicode-9.0.0
- refs/tags/CPPI-1_10
- refs/tags/CPPI-1_8
- refs/tags/CPPI-1_9
- refs/tags/EMACS_20_2
- refs/tags/EMACS_20_4
- refs/tags/EMACS_21_1
- refs/tags/EMACS_21_3
- refs/tags/EMACS_PRETEST_21_0_103
- refs/tags/EMACS_PRETEST_21_0_95
- refs/tags/EMACS_PRETEST_21_2_93
- refs/tags/FILEUTILS-3_10
- refs/tags/FILEUTILS-3_11
- refs/tags/FILEUTILS-3_12
- refs/tags/FILEUTILS-3_12a
- refs/tags/FILEUTILS-3_12f
- refs/tags/FILEUTILS-3_12g
- refs/tags/FILEUTILS-3_12j
- refs/tags/FILEUTILS-3_12l
- refs/tags/FILEUTILS-3_12m
- refs/tags/FILEUTILS-3_12r
- refs/tags/FILEUTILS-3_12s
- refs/tags/FILEUTILS-3_13
- refs/tags/FILEUTILS-3_13c
- refs/tags/FILEUTILS-3_13f
- refs/tags/FILEUTILS-3_13g
- refs/tags/FILEUTILS-3_13h
- refs/tags/FILEUTILS-3_13j
- refs/tags/FILEUTILS-3_13k
- refs/tags/FILEUTILS-3_14b
- refs/tags/FILEUTILS-3_16g
- refs/tags/FILEUTILS-3_16h
- refs/tags/FILEUTILS-3_16i
- refs/tags/FILEUTILS-3_16j
- refs/tags/FILEUTILS-3_16k
- refs/tags/FILEUTILS-3_16l
- refs/tags/FILEUTILS-3_16m
- refs/tags/FILEUTILS-3_16n
- refs/tags/FILEUTILS-3_16p
- refs/tags/FILEUTILS-3_16q
- refs/tags/FILEUTILS-3_16r
- refs/tags/FILEUTILS-3_16s
- refs/tags/FILEUTILS-3_16t
- refs/tags/FILEUTILS-3_16u
- refs/tags/FILEUTILS-3_16v
- refs/tags/FILEUTILS-3_16w
- refs/tags/FILEUTILS-3_16x
- refs/tags/FILEUTILS-3_16z
- refs/tags/FILEUTILS-3_4
- refs/tags/FILEUTILS-3_4_1
- refs/tags/FILEUTILS-3_4_6
- refs/tags/FILEUTILS-3_4_7
- refs/tags/FILEUTILS-3_4_8
- refs/tags/FILEUTILS-3_5
- refs/tags/FILEUTILS-3_5_2
- refs/tags/FILEUTILS-3_5_4
- refs/tags/FILEUTILS-3_5_5
- refs/tags/FILEUTILS-3_8_1
- refs/tags/FILEUTILS-3_8_2
- refs/tags/FILEUTILS-3_8_3
- refs/tags/FILEUTILS-3_8_3a
- refs/tags/FILEUTILS-3_8_3b
- refs/tags/FILEUTILS-3_8_3c
- refs/tags/FILEUTILS-3_8_3d
- refs/tags/FILEUTILS-3_8_4
- refs/tags/FILEUTILS-3_8_4b
- refs/tags/FILEUTILS-3_8_4f
- refs/tags/FILEUTILS-3_8_4g
- refs/tags/FILEUTILS-3_9
- refs/tags/FILEUTILS-3_9a
- refs/tags/FILEUTILS-3_9b
- refs/tags/FILEUTILS-3_9c
- refs/tags/FILEUTILS-3_9d
- refs/tags/FILEUTILS-3_9e
- refs/tags/FILEUTILS-3_9f
- refs/tags/FILEUTILS-3_9h
- refs/tags/FILEUTILS-3_9i
- refs/tags/FILEUTILS-3_9j
- refs/tags/FILEUTILS-3_9k
- refs/tags/FILEUTILS-3_9o
- refs/tags/FILEUTILS-3_9s
- refs/tags/FILEUTILS-3_9t
- refs/tags/FILEUTILS-3_9t1
- refs/tags/FILEUTILS-3_9t3
- refs/tags/FILEUTILS-3_9u
- refs/tags/FILEUTILS-3_9u1
- refs/tags/FILEUTILS-4_0
- refs/tags/FILEUTILS-4_0-b2
- refs/tags/FILEUTILS-4_0-b3
- refs/tags/FILEUTILS-4_0-b4
- refs/tags/FILEUTILS-4_0-b6
- refs/tags/FILEUTILS-4_0-b7
- refs/tags/FILEUTILS-4_0-pre1
- refs/tags/FILEUTILS-4_0_27
- refs/tags/FILEUTILS-4_0_28
- refs/tags/FILEUTILS-4_0_29
- refs/tags/FILEUTILS-4_0_30
- refs/tags/FILEUTILS-4_0_31
- refs/tags/FILEUTILS-4_0_32
- refs/tags/FILEUTILS-4_0_33
- refs/tags/FILEUTILS-4_0_34
- refs/tags/FILEUTILS-4_0_35
- refs/tags/FILEUTILS-4_0_36
- refs/tags/FILEUTILS-4_0_37
- refs/tags/FILEUTILS-4_0_38
- refs/tags/FILEUTILS-4_0_39
- refs/tags/FILEUTILS-4_0_41
- refs/tags/FILEUTILS-4_0_42
- refs/tags/FILEUTILS-4_0_43
- refs/tags/FILEUTILS-4_0_45
- refs/tags/FILEUTILS-4_0e
- refs/tags/FILEUTILS-4_0f
- refs/tags/FILEUTILS-4_0g
- refs/tags/FILEUTILS-4_0i
- refs/tags/FILEUTILS-4_0j-trial
- refs/tags/FILEUTILS-4_0k
- refs/tags/FILEUTILS-4_0l
- refs/tags/FILEUTILS-4_0m
- refs/tags/FILEUTILS-4_0q
- refs/tags/FILEUTILS-4_0r
- refs/tags/FILEUTILS-4_0s
- refs/tags/FILEUTILS-4_0t
- refs/tags/FILEUTILS-4_0u
- refs/tags/FILEUTILS-4_0v
- refs/tags/FILEUTILS-4_0w
- refs/tags/FILEUTILS-4_0x
- refs/tags/FILEUTILS-4_0y
- refs/tags/FILEUTILS-4_0z
- refs/tags/FILEUTILS-4_1-b1
- refs/tags/FILEUTILS-4_1-b2
- refs/tags/FILEUTILS-4_1-b3
- refs/tags/FILEUTILS-4_1_1
- refs/tags/FILEUTILS-4_1_2
- refs/tags/FILEUTILS-4_1_3
- refs/tags/FILEUTILS-4_1_4
- refs/tags/FILEUTILS-4_1_5
- refs/tags/FILEUTILS-4_1_6
- refs/tags/FILEUTILS-4_1_7
- refs/tags/FILEUTILS-4_1_8
- refs/tags/FILEUTILS-4_1_9
- refs/tags/RMAIL-MBOX-BASE
- refs/tags/SH-UTILS-1_12a
- refs/tags/SH-UTILS-1_12d
- refs/tags/SH-UTILS-1_12f
- refs/tags/SH-UTILS-1_12g
- refs/tags/SH-UTILS-1_12o
- refs/tags/SH-UTILS-1_12p
- refs/tags/SH-UTILS-1_12r
- refs/tags/SH-UTILS-1_12t
- refs/tags/SH-UTILS-1_14
- refs/tags/SH-UTILS-1_15
- refs/tags/SH-UTILS-1_15a
- refs/tags/SH-UTILS-1_16
- refs/tags/SH-UTILS-1_16a
- refs/tags/SH-UTILS-1_16b
- refs/tags/SH-UTILS-1_16c
- refs/tags/SH-UTILS-1_16d
- refs/tags/SH-UTILS-1_16f
- refs/tags/SH-UTILS-1_16h
- refs/tags/SH-UTILS-1_16k
- refs/tags/SH-UTILS-1_16m
- refs/tags/SH-UTILS-2_0
- refs/tags/SH-UTILS-2_0_11
- refs/tags/SH-UTILS-2_0_12
- refs/tags/SH-UTILS-2_0a
- refs/tags/SH-UTILS-2_0b
- refs/tags/SH-UTILS-2_0c
- refs/tags/SH-UTILS-2_0d
- refs/tags/SH-UTILS-2_0e
- refs/tags/SH-UTILS-2_0f
- refs/tags/SH-UTILS-2_0g
- refs/tags/SH-UTILS-2_0h
- refs/tags/SH-UTILS-2_0i
- refs/tags/SH-UTILS-2_0j
- refs/tags/SHELLUTILS-1_10
- refs/tags/SHELLUTILS-1_10c
- refs/tags/SHELLUTILS-1_10d
- refs/tags/SHELLUTILS-1_10e
- refs/tags/SHELLUTILS-1_10f
- refs/tags/SHELLUTILS-1_10i
- refs/tags/SHELLUTILS-1_10l
- refs/tags/SHELLUTILS-1_10m
- refs/tags/SHELLUTILS-1_10n
- refs/tags/SHELLUTILS-1_10n1
- refs/tags/SHELLUTILS-1_10n2
- refs/tags/SHELLUTILS-1_10n3
- refs/tags/SHELLUTILS-1_10n4
- refs/tags/SHELLUTILS-1_10n5
- refs/tags/SHELLUTILS-1_10q
- refs/tags/SHELLUTILS-1_10u
- refs/tags/SHELLUTILS-1_10x
- refs/tags/SHELLUTILS-1_12
- refs/tags/SHELLUTILS-1_8
- refs/tags/SHELLUTILS-1_8_1
- refs/tags/SHELLUTILS-1_8_1a
- refs/tags/SHELLUTILS-1_8_1b
- refs/tags/SHELLUTILS-1_8_1c
- refs/tags/SHELLUTILS-1_8_1d
- refs/tags/SHELLUTILS-1_8_1g
- refs/tags/SHELLUTILS-1_8_1h
- refs/tags/SHELLUTILS-1_8_1k
- refs/tags/SHELLUTILS-1_9
- refs/tags/SHELLUTILS-1_9_1
- refs/tags/SHELLUTILS-1_9_2
- refs/tags/SHELLUTILS-1_9_2a
- refs/tags/SHELLUTILS-1_9_2b
- refs/tags/SHELLUTILS-1_9_2e
- refs/tags/SHELLUTILS-1_9_2g
- refs/tags/SHELLUTILS-1_9_2i
- refs/tags/SHELLUTILS-1_9_4
- refs/tags/SHELLUTILS-1_9_4c
- refs/tags/SHELLUTILS-1_9_4d
- refs/tags/SHELLUTILS-1_9_4e
- refs/tags/SHELLUTILS-1_9_4f
- refs/tags/SHELLUTILS-1_9_4h
- refs/tags/SHELLUTILS-1_9_4j
- refs/tags/SHELLUTILS-1_9_4l
- refs/tags/TEXTUTILS-1_10
- refs/tags/TEXTUTILS-1_11
- refs/tags/TEXTUTILS-1_11_1a
- refs/tags/TEXTUTILS-1_11_1b
- refs/tags/TEXTUTILS-1_11_4
- refs/tags/TEXTUTILS-1_11_4b
- refs/tags/TEXTUTILS-1_11_5
- refs/tags/TEXTUTILS-1_11_5b
- refs/tags/TEXTUTILS-1_11_d
- refs/tags/TEXTUTILS-1_11_e
- refs/tags/TEXTUTILS-1_11_f
- refs/tags/TEXTUTILS-1_11_g
- refs/tags/TEXTUTILS-1_12
- refs/tags/TEXTUTILS-1_12a
- refs/tags/TEXTUTILS-1_13
- refs/tags/TEXTUTILS-1_13g
- refs/tags/TEXTUTILS-1_13i
- refs/tags/TEXTUTILS-1_13j
- refs/tags/TEXTUTILS-1_14
- refs/tags/TEXTUTILS-1_14a
- refs/tags/TEXTUTILS-1_14b
- refs/tags/TEXTUTILS-1_14c
- refs/tags/TEXTUTILS-1_14d
- refs/tags/TEXTUTILS-1_18
- refs/tags/TEXTUTILS-1_18e
- refs/tags/TEXTUTILS-1_19d
- refs/tags/TEXTUTILS-1_19g
- refs/tags/TEXTUTILS-1_19m
- refs/tags/TEXTUTILS-1_19n
- refs/tags/TEXTUTILS-1_19o
- refs/tags/TEXTUTILS-1_19q
- refs/tags/TEXTUTILS-1_19r
- refs/tags/TEXTUTILS-1_20a
- refs/tags/TEXTUTILS-1_20b
- refs/tags/TEXTUTILS-1_21a
- refs/tags/TEXTUTILS-1_22a
- refs/tags/TEXTUTILS-1_22c
- refs/tags/TEXTUTILS-1_22d
- refs/tags/TEXTUTILS-1_22f
- refs/tags/TEXTUTILS-1_22g
- refs/tags/TEXTUTILS-1_22h
- refs/tags/TEXTUTILS-1_22i
- refs/tags/TEXTUTILS-1_22j
- refs/tags/TEXTUTILS-1_22k
- refs/tags/TEXTUTILS-1_22l
- refs/tags/TEXTUTILS-1_22m
- refs/tags/TEXTUTILS-1_22n
- refs/tags/TEXTUTILS-1_22o
- refs/tags/TEXTUTILS-1_22p
- refs/tags/TEXTUTILS-1_22q
- refs/tags/TEXTUTILS-1_3_2
- refs/tags/TEXTUTILS-1_3_6
- refs/tags/TEXTUTILS-1_4
- refs/tags/TEXTUTILS-1_4_1
- refs/tags/TEXTUTILS-1_4_3
- refs/tags/TEXTUTILS-1_5_2
- refs/tags/TEXTUTILS-1_6
- refs/tags/TEXTUTILS-1_8
- refs/tags/TEXTUTILS-1_8_1b
- refs/tags/TEXTUTILS-1_8a
- refs/tags/TEXTUTILS-1_8b
- refs/tags/TEXTUTILS-1_8c
- refs/tags/TEXTUTILS-1_8i
- refs/tags/TEXTUTILS-1_9_1
- refs/tags/TEXTUTILS-1_9_1d
- refs/tags/TEXTUTILS-1_9_1e
- refs/tags/TEXTUTILS-1_9_1f
- refs/tags/TEXTUTILS-1_9_1g
- refs/tags/TEXTUTILS-1_9_1h
- refs/tags/TEXTUTILS-1_9_1i1
- refs/tags/TEXTUTILS-1_9_1k
- refs/tags/TEXTUTILS-2_0
- refs/tags/TEXTUTILS-2_0_10
- refs/tags/TEXTUTILS-2_0_12
- refs/tags/TEXTUTILS-2_0_15
- refs/tags/TEXTUTILS-2_0_16
- refs/tags/TEXTUTILS-2_0_17
- refs/tags/TEXTUTILS-2_0_18
- refs/tags/TEXTUTILS-2_0_19
- refs/tags/TEXTUTILS-2_0_20
- refs/tags/TEXTUTILS-2_0_21
- refs/tags/TEXTUTILS-2_0_8
- refs/tags/TEXTUTILS-2_0_9
- refs/tags/TEXTUTILS-2_0a
- refs/tags/TEXTUTILS-2_0c
- refs/tags/TEXTUTILS-2_0e
- refs/tags/TEXTUTILS-2_0f
- refs/tags/TEXTUTILS-2_0g
- refs/tags/ctype-fix
- refs/tags/emacs-unicode-base
- refs/tags/getopt-macros
- refs/tags/kfs_20030524_pre
- refs/tags/lexbind-before-merge-20030404
- refs/tags/merge-with-1_9_4k
- refs/tags/post-jumbo-LFS
- refs/tags/pre-getopt
- refs/tags/pre-jumbo-LFS
- refs/tags/pre-version
- refs/tags/raeburn-tag-4-for-export
- refs/tags/ss-940725-22h45
- refs/tags/ss-950520-08h12-sync-tu
- refs/tags/ss-950614-22h58-1_11_5a
- refs/tags/static-0
- refs/tags/textutils-1_12_1
- refs/tags/version-3_4_2-to-fsf
- refs/tags/version-3_4_4-tentative
Permalinks
To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.
Tip revision: 0404c9ae2845cbf93d71b295b67d6c8bd39382d8 authored by Karl Berry on 01 March 2018, 16:26:50 UTC
autoupdate
autoupdate
Tip revision: 0404c9a
acl.h
/* acl.c - access control lists
Copyright (C) 2002, 2008-2018 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Written by Paul Eggert. */
#ifndef _GL_ACL_H
#define _GL_ACL_H 1
#include <stdbool.h>
#include <sys/types.h>
#include <sys/stat.h>
bool acl_errno_valid (int) _GL_ATTRIBUTE_CONST;
int file_has_acl (char const *, struct stat const *);
int qset_acl (char const *, int, mode_t);
int set_acl (char const *, int, mode_t);
int qcopy_acl (char const *, int, char const *, int, mode_t);
int copy_acl (char const *, int, char const *, int, mode_t);
int chmod_or_fchmod (char const *, int, mode_t);
#endif