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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.0.9999.0710260235130.8261@chino.kir.corp.google.com>
Date:	Fri, 26 Oct 2007 02:42:30 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Alexey Dobriyan <adobriyan@...ru>
cc:	torvalds@...l.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] De-constify sched.h

On Fri, 26 Oct 2007, Alexey Dobriyan wrote:

> 2) There is no such thing as const task_struct. Anyone who think otherwise
>    deserves compiler warning.
> 

A 'const struct task_struct *' can be used as an annotation to mean that 
no member of the struct is modified through that pointer, so it's 
perfectly acceptable to qualify formals in that manner.
-
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