lkml.org 
[lkml]   [2004]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.0.40] Fix comment error of prepare_binprm() in exec.c
David Weinehall wrote:

> My aim for 2.0.41 is to make it a cleanup-release; remove warnings, tidy
> up a little source-code mess, kill dead code, fix typos etc.
>
>
> Regards: David Weinehall

Hello, David

In the comment of prepare_binprm() in fs/exec.c, 512 bytes should be 128
bytes.

Coywolf


--
Coywolf Qi Hunt
Admin of http://GreatCN.org and http://LoveCN.org
--- linux-2.0.40/fs/exec.c 2004-02-27 11:48:20.000000000 +0800
+++ linux-2.0.40-cy/fs/exec.c 2004-03-03 21:14:28.000000000 +0800
@@ -528,7 +528,7 @@

/*
* Fill the binprm structure from the inode.
- * Check permissions, then read the first 512 bytes
+ * Check permissions, then read the first 128 bytes
*/
int prepare_binprm(struct linux_binprm *bprm)
{
\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.080 / U:2.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site