lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu,  9 May 2013 11:57:21 +0400
From:	Denis Efremov <yefremov.denis@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Denis Efremov <yefremov.denis@...il.com>, davem@...emloft.net,
	gregkh@...uxfoundation.org, mingo@...hat.com, trivial@...nel.org,
	ldv-project@...uxtesting.org
Subject: [PATCH 00/21] Exported funtions that are marked inline

Hello everyone,
this is a patchset to remove inline marking of exported functions.
Patchset is motivated by
https://lkml.org/lkml/2012/5/10/545 (af3b56289)

I run some tests and inspect the binaries. (You can find the tests
here: https://bitbucket.org/evdenis/tests/src) And it seems (at least
on my configuration) that EXPORT_SYMBOL completely revokes inline
directive. GCC can handle this, but other compilers may be confused
by these two directives. Anyway, you can't inline function that you
expect not to be available for modules with incompatible license and
to be available for the rest.

The tool I use to check the sources:
https://bitbucket.org/evdenis/export_checking.git

arch/arm/mach-sa1100/jornada720_ssp.c  |  2 +-
arch/arm64/lib/delay.c                 |  2 +-
arch/cris/arch-v32/kernel/cache.c      |  2 +-
arch/m68k/sun3/sun3dvma.c              |  2 +-
arch/metag/lib/delay.c                 |  2 +-
arch/mips/pmcs-msp71xx/msp_prom.c      |  2 +-
arch/openrisc/lib/delay.c              |  2 +-
arch/powerpc/platforms/ps3/spu.c       |  2 +-
arch/sparc/prom/tree_64.c              | 14 +++++++-------
arch/tile/lib/spinlock_32.c            |  2 +-
arch/x86/lib/delay.c                   |  2 +-
arch/x86/um/delay.c                    |  2 +-
drivers/dma/dw_dmac.c                  |  4 ++--
drivers/net/wireless/iwlegacy/common.c |  2 +-
drivers/scsi/libiscsi.c                |  2 +-
drivers/scsi/libiscsi_tcp.c            |  8 ++++----
drivers/staging/nvec/nvec.c            |  2 +-
fs/bio.c                               |  2 +-
fs/block_dev.c                         |  2 +-
fs/buffer.c                            |  2 +-
mm/filemap.c                           |  2 +-
net/9p/client.c                        |  4 ++--
net/ipv4/ip_output.c                   |  2 +-
net/netfilter/nf_nat_core.c            |  2 +-
net/nfc/core.c                         |  2 +-
25 files changed, 36 insertions(+), 36 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ