Skip to contentSkip to conversation

audit library license

DISCUSSION 布施 博明 3 participants 3 messages Feb 1, 2023 – Feb 2, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello,

Thank you for the comment.
I also find following commit.
- https://github.com/linux-audit/audit-userspace/commit/e63a8b1628170151016470075396e3697dd57a9b

BTW, I found another license question.

The libauparse.so are created following source codes.

In 'auparse/Makefile.am'

AM_CPPFLAGS = -I. -I${top_srcdir} -I${top_srcdir}/src -I${top_srcdir}/lib -I${top_srcdir}/common

                                                                      :
libauparse_la_SOURCES = lru.c interpret.c nvlist.c ellist.c		\
	auparse.c auditd-config.c message.c data_buf.c 			\
	auparse-defs.h	auparse-idata.h data_buf.h 			\
	nvlist.h auparse.h ellist.h					\
	internal.h lru.h rnode.h interpret.h				\
	private.h expression.c expression.h tty_named_keys.h		\
	normalize.c normalize-llist.c normalize-llist.h 		\
	normalize-internal.h normalize_obj_kind_map.h			\
	normalize_record_map.h normalize_syscall_map.h

We can find following line in internal.h

#include "auditd-config.h"

I can find src/auditd-config.h file which is GPLv2.

The "src/auditd-config.h" should be also LGPLv2.1

Regardss,

Quoted 53 lines

----- Original Message -----

From: "Steve Grubb" <[email protected]>
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: 2023/02/01 水 00:53
Subject: Re: audit library license

Hello,

Quoted 28 lines · On Monday, January 30, 2023 7:55:20 PM EST [email protected] wrote:

Dear All members,

We can find following lines in audit/README file

LICENSE
=======
The audit daemon is released as GPL'd code. The audit daemon's libraries libaudit.* and libauparse.* are released under LGPL so that it may be linked with 3rd party software.

I found that latest audit library linked libaucommon.so.

./lib/Makefile.in:AM_CPPFLAGS = -I. -I${top_srcdir} -I${top_srcdir}/auparse -I${top_srcdir}/common ./lib/Makefile.in:libaudit_la_LIBADD = $(CAPNG_LDADD) ${top_builddir}/common/libaucommon.la ./lib/Makefile.in:libaudit_la_DEPENDENCIES = $(libaudit_la_SOURCES) ../config.h ${top_builddir}/common/libaucommon.la

./auparse/Makefile.am:AM_CPPFLAGS = -I. -I${top_srcdir} -I${top_srcdir}/src -I${top_srcdir}/lib -I${top_srcdir}/common ./auparse/Makefile.am:libauparse_la_LIBADD = ${top_builddir}/lib/libaudit.la ${top_builddir}/common/libaucommon.la ./auparse/Makefile.am:libauparse_la_DEPENDENCIES = $(libauparse_la_SOURCES) ${top_builddir}/config.h ${top_builddir}/common/libaucommon.la

Libaucommo.so is created by following files

Quoted 7 lines

./common/Makefile.am:libaucommon_la_SOURCES = audit-fgets.c strsplit.c

And the license of audit/common/audit-fgets.c is GPLv2

This mean the license of latest audit libraries are also GPLv2.

Is my understanding correct?

The intention stated in the README file is correct. The code in question is only used by 3 plugins which are GPL and those functions are hidden from external users of libaudit. The code can be relicenced to make it LGPL so everything matches the intentions.

Quoted 9 lines

-Steve

--
Linux-audit mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-audit

--
Linux-audit mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-audit

#2 lore raw

Hello,

Quoted 25 lines · EST 布施 博明

Thank you for the comment.
I also find following commit.
-
https://github.com/linux-audit/audit-userspace/commit/e63a8b16281701510164
70075396e3697dd57a9b

BTW, I found another license question.

The libauparse.so are created following source codes.

In 'auparse/Makefile.am'

AM_CPPFLAGS = -I. -I${top_srcdir} -I${top_srcdir}/src -I${top_srcdir}/lib -I${top_srcdir}/common

libauparse_la_SOURCES = lru.c interpret.c nvlist.c ellist.c		\
	auparse.c auditd-config.c message.c data_buf.c 			\
	auparse-defs.h	auparse-idata.h data_buf.h 			\
	nvlist.h auparse.h ellist.h					\
	internal.h lru.h rnode.h interpret.h				\
	private.h expression.c expression.h tty_named_keys.h		\
	normalize.c normalize-llist.c normalize-llist.h 		\
	normalize-internal.h normalize_obj_kind_map.h			\
	normalize_record_map.h normalize_syscall_map.h
Quoted 7 lines

We can find following line in internal.h

#include "auditd-config.h"

I can find src/auditd-config.h file which is GPLv2.

The "src/auditd-config.h" should be also LGPLv2.1

That file is also mislabeled. It is now corrected. Thanks for the review.

-Steve

--
Linux-audit mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-audit

#3 lore raw

Hello,

Thank you for the quick reply.
Now the license of audit libraries are clear!!

Regards,

Quoted 41 lines

----- Original Message -----

From: "Steve Grubb" <[email protected]>
To: "[email protected]" <[email protected]>
Cc: "[email protected]" <[email protected]>; "布施 博明" <[email protected]>
Date: 2023/02/02 木 07:09
Subject: Re: audit library license

Hello,

Quoted 29 lines · EST 布施 博明

Thank you for the comment.
I also find following commit.
-
https://github.com/linux-audit/audit-userspace/commit/e63a8b16281701510164
70075396e3697dd57a9b

BTW, I found another license question.

The libauparse.so are created following source codes.

In 'auparse/Makefile.am'

AM_CPPFLAGS = -I. -I${top_srcdir} -I${top_srcdir}/src -I${top_srcdir}/lib -I${top_srcdir}/common

libauparse_la_SOURCES = lru.c interpret.c nvlist.c ellist.c		\
	auparse.c auditd-config.c message.c data_buf.c 			\
	auparse-defs.h	auparse-idata.h data_buf.h 			\
	nvlist.h auparse.h ellist.h					\
	internal.h lru.h rnode.h interpret.h				\
	private.h expression.c expression.h tty_named_keys.h		\
	normalize.c normalize-llist.c normalize-llist.h 		\
	normalize-internal.h normalize_obj_kind_map.h			\
	normalize_record_map.h normalize_syscall_map.h

We can find following line in internal.h

#include "auditd-config.h"

Quoted 9 lines
Quoted 3 lines

I can find src/auditd-config.h file which is GPLv2.

The "src/auditd-config.h" should be also LGPLv2.1

That file is also mislabeled. It is now corrected. Thanks for the review.

-Steve

--
Linux-audit mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-audit