From: Charles Davis Subject: [PATCH] icacls: New stub program. Message-Id: <1454923875-70063-1-git-send-email-cdavis5x@gmail.com> Date: Mon, 8 Feb 2016 02:31:15 -0700 This program supersedes (to some extent) cacls in Windows 2003 and later. Installers are now beginning to appear that depend on it being present. Signed-off-by: Charles Davis --- programs/icacls/Makefile.in | 5 +++++ programs/icacls/icacls_main.c | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 programs/icacls/Makefile.in create mode 100644 programs/icacls/icacls_main.c diff --git a/programs/icacls/Makefile.in b/programs/icacls/Makefile.in new file mode 100644 index 0000000..af919a5 --- /dev/null +++ b/programs/icacls/Makefile.in @@ -0,0 +1,5 @@ +MODULE = icacls.exe +APPMODE = -mconsole + +C_SRCS = \ + icacls_main.c diff --git a/programs/icacls/icacls_main.c b/programs/icacls/icacls_main.c new file mode 100644 index 0000000..8f93a97 --- /dev/null +++ b/programs/icacls/icacls_main.c @@ -0,0 +1,39 @@ +/* + * Integrity/ACL viewer/editor stub + * Copyright (C) 2009 Andrey Turkin + * Copyright (C) 2016 Charles Davis + * + * 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.1 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include +#include + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(icacls); + +int main(int argc, char** argv) +{ + int i; + + WINE_FIXME("This is dummy icacls, not performing ACL manipulations\n"); + WINE_FIXME("stub:"); + for (i = 0; i < argc; i++) + WINE_FIXME(" %s", wine_dbgstr_a(argv[i])); + WINE_FIXME("\n"); + + return 0; +} -- 2.7.0