public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Subject: Re: Exported symbols removed in 2.5.2
Date: Tue, 03 May 2016 11:10:33 -0400	[thread overview]
Message-ID: <5694853.buGQaZGD79@x2> (raw)
In-Reply-To: <87e29370-9812-9577-6558-e86d5f47072e@debian.org>

On Tuesday, May 03, 2016 05:04:04 PM Laurent Bigonville wrote:
> Hello,
> 
> In debian, during the build  of a package, we have a tool checking if
> symbols are removed from shared librearies.
> 
> With the 2.5.2 release, I get the following output:
> 
> --- debian/libauparse0.symbols (libauparse0_1:2.5.2-1_amd64)
> +++ dpkg-gensymbolsmB_9P2    2016-05-03 15:01:10.606713310 +0000
> @@ -1,7 +1,7 @@
>   libauparse.so.0 libauparse0 #MINVER#
>    au_terminate_all_events@Base 1:2.5.1
> - audit_strsplit@Base 1:2.4.2
> - audit_strsplit_r@Base 1:2.4.2
> +#MISSING: 1:2.5.2-1# audit_strsplit@Base 1:2.4.2
> +#MISSING: 1:2.5.2-1# audit_strsplit_r@Base 1:2.4.2
>    auparse_add_callback@Base 1:2.2.1
>    auparse_destroy@Base 1:2.2.1
>    auparse_do_interpretation@Base 1:2.3.1
> @@ -49,4 +49,4 @@
>    ausearch_clear@Base 1:2.2.1
>    ausearch_next_event@Base 1:2.2.1
>    ausearch_set_stop@Base 1:2.2.1
> - set_escape_mode@Base 1:2.4.4
> +#MISSING: 1:2.5.2-1# set_escape_mode@Base 1:2.4.4
> dpkg-gensymbols: warning: some symbols or patterns disappeared in the
> symbols file: see diff output below
> dpkg-gensymbols: warning: debian/libaudit1/DEBIAN/symbols doesn't match
> completely debian/libaudit1.symbols
> --- debian/libaudit1.symbols (libaudit1_1:2.5.2-1_amd64)
> +++ dpkg-gensymbolsQATT_C    2016-05-03 15:01:10.802717308 +0000
> @@ -56,7 +56,7 @@
>    audit_rule_syscall_data@Base 1:2.2.1
>    audit_rule_syscallbyname_data@Base 1:2.2.1
>    audit_send@Base 1:2.2.1
> - audit_send_user_message@Base 1:2.2.1
> +#MISSING: 1:2.5.2-1# audit_send_user_message@Base 1:2.2.1
>    audit_set_backlog_limit@Base 1:2.2.1
>    audit_set_backlog_wait_time@Base 1:2.4.2
>    audit_set_enabled@Base 1:2.2.1
> 
> Is that expected that these 4 symbols have been removed?

Yes. This corresponds to the changelog entry:

- Revise function hiding technique to better protect audit ABI

All functions missing are internal to the audit libraries and could cause 
symbols collisions or worse if people start using them even though they are 
not declared in the library headers.

-Steve

  reply	other threads:[~2016-05-03 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03 15:04 Exported symbols removed in 2.5.2 Laurent Bigonville
2016-05-03 15:10 ` Steve Grubb [this message]
2016-05-03 15:15   ` Laurent Bigonville
2016-05-03 16:33     ` Steve Grubb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5694853.buGQaZGD79@x2 \
    --to=sgrubb@redhat.com \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox