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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 11 Jul 2007 17:37:19 -0700 (PDT)
From:	Roland McGrath <>
To:	Andrew Morton <>
Cc:	Linus Torvalds <>,
Subject: Re: [PATCH 6/7] Add /sys/kernel/notes

> I'm curios to know what happens if nobody defines __start_notes and
> __end_notes.  We'll use the extern-attribute-weak thing, but those two
> locations won't even get instantiated in vmlinux, I think.
> And the code relies upon the difference between two non-existent
> attribute-weak locations being zero.

The well-defined meaning of weak externs is that they resolve to zero if
undefined.  It relies on zero-zero being zero.  It relies on noone defining
one of __start_notes and __stop_notes but not both.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists