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>] [day] [month] [year] [list]
Message-ID: <DDFD17CC94A9BD49A82147DDF7D545C501DCD047@exchange.ZeugmaSystems.local>
Date:	Thu, 30 Jul 2009 18:19:53 -0700
From:	"Anirban Sinha" <ASinha@...gmasystems.com>
To:	<linux-kernel@...r.kernel.org>
Subject: do_exit

Hi all:

I have a small question regarding the function do_exit(). At the very
beginning of the function, it takes a reference (tsk) to "current" and
then it passes this reference to other functions. I am wondering where
there is any reason for not passing "current" directly in this case.
Does current gets clobbered/not trustable in this case? If we could pass
current directly, lot of the other functions could be cleaned up and
made to pass one less parameter.

Just curious.

Thanks

Ani

--
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