The Samba-Bugzilla – Attachment 17173 Details for
Bug 7239
Function aixacl_sys_acl_get_file not declared / coredump
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
backported patch for 4.15 and 4.16
aixacl-header.patch (text/plain), 2.35 KB, created by
Björn Jacke
on 2022-02-19 22:38:13 UTC
(
hide
)
Description:
backported patch for 4.15 and 4.16
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2022-02-19 22:38:13 UTC
Size:
2.35 KB
patch
obsolete
>From c3b6fa9d9549549a21ed96244838e36bbf4cb1ae Mon Sep 17 00:00:00 2001 >From: Bjoern Jacke <bj@sernet.de> >Date: Fri, 11 Feb 2022 00:45:00 +0000 >Subject: [PATCH] vfs_aixacl: add proper header file > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=7239 > >Signed-off-by: Bjoern Jacke <bjacke@samba.org> >Reviewed-by: Jeremy Allison <jra@samba.org> >(cherry picked from commit 396c17160c19c6df43123074bf62268c6ed0f9e4) >--- > source3/lib/sysacls.c | 4 ++++ > source3/modules/vfs_aixacl.h | 34 ++++++++++++++++++++++++++++++++++ > 2 files changed, 38 insertions(+) > create mode 100644 source3/modules/vfs_aixacl.h > >diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c >index e76e78e48e7..e287bb5d488 100644 >--- a/source3/lib/sysacls.c >+++ b/source3/lib/sysacls.c >@@ -34,6 +34,10 @@ > #include "modules/vfs_hpuxacl.h" > #endif > >+#if defined(HAVE_AIX_ACLS) >+#include "modules/vfs_aixacl.h" >+#endif >+ > #undef DBGC_CLASS > #define DBGC_CLASS DBGC_ACLS > >diff --git a/source3/modules/vfs_aixacl.h b/source3/modules/vfs_aixacl.h >new file mode 100644 >index 00000000000..f9fe3f85dc6 >--- /dev/null >+++ b/source3/modules/vfs_aixacl.h >@@ -0,0 +1,34 @@ >+/* >+ Copyright (C) Bjoern Jacke <bjacke@samba.org> 2022 >+ >+ 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 <http://www.gnu.org/licenses/>. >+*/ >+ >+#ifndef __VFS_AIXACL_H__ >+#define __VFS_AIXACL_H__ >+ >+SMB_ACL_T aixacl_sys_acl_get_fd(vfs_handle_struct *handle, >+ files_struct *fsp, >+ SMB_ACL_TYPE_T type, >+ TALLOC_CTX *mem_ctx); >+ >+int aixacl_sys_acl_set_fd(vfs_handle_struct *handle, >+ files_struct *fsp, >+ SMB_ACL_TYPE_T type, >+ SMB_ACL_T acl_d); >+ >+int aixacl_sys_acl_delete_def_fd(vfs_handle_struct *handle, >+ files_struct *fsp); >+ >+#endif >-- >2.20.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
metze
:
review+
Actions:
View
Attachments on
bug 7239
: 17173