Skip to content

Commit

Permalink
revokefs: Initial non-revoking version
Browse files Browse the repository at this point in the history
This is just a copy of rofiles-fuse with the write limits removed.

Closes: #2657
Approved by: alexlarsson
  • Loading branch information
alexlarsson authored and rh-atomic-bot committed Apr 9, 2019
1 parent 98352b0 commit 4716ce8
Show file tree
Hide file tree
Showing 5 changed files with 571 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ common/flatpak-enum-types.c
common/flatpak-enum-types.h
test-libflatpak
httpcache
revokefs-fuse
Flatpak-1.0.*
/app/parse-datetime.c
/doc/reference/gtkdoc-check.log
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ include session-helper/Makefile.am.inc
include portal/Makefile.am.inc
include system-helper/Makefile.am.inc
include icon-validator/Makefile.am.inc
include revokefs/Makefile.am.inc
include tests/Makefile.am.inc

if !WITH_SYSTEM_DBUS_PROXY
Expand Down
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ if test "x$enable_system_helper" = "xyes"; then
fi
AM_CONDITIONAL(BUILD_SYSTEM_HELPER, test x$enable_system_helper = xyes)

PKG_CHECK_MODULES(FUSE, fuse >= 2.9.2)

AC_ARG_ENABLE([xauth],
AC_HELP_STRING([--disable-xauth],
[Disable Xauth use]),
Expand Down
26 changes: 26 additions & 0 deletions revokefs/Makefile.am.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (C) 2016 Colin Walters <[email protected]>
# Copyright (C) 2018 Alexander Larsson <[email protected]>
#
# SPDX-License-Identifier: LGPL-2.0+
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library 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
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

libexec_PROGRAMS += revokefs-fuse

revokefs_fuse_SOURCES = revokefs/main.c

revokefs_fuse_CFLAGS = $(BASE_CFLAGS) -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 $(FUSE_CFLAGS) -I$(srcdir)/libglnx
revokefs_fuse_LDADD = libglnx.la $(BASE_LIBS) $(FUSE_LIBS)

0 comments on commit 4716ce8

Please sign in to comment.