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: <20070222.210618.134161490.yoshfuji@linux-ipv6.org>
Date:	Thu, 22 Feb 2007 21:06:18 +0900 (JST)
From:	YOSHIFUJI Hideaki / 吉藤英明 
	<yoshfuji@...ux-ipv6.org>
To:	divy@...lsio.com
Cc:	jeff@...zik.org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, swise@...ngridcomputing.com,
	yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH 2/7] cxgb3 - private ioctl cleanup

In article <20070222115925.10001.61276.stgit@...alhost.localdomain> (at Thu, 22 Feb 2007 03:59:25 -0800), divy@...lsio.com says:

> From: Divy Le Ray <divy@...lsio.com>
> 
> Clean up some private ioctls.
> 
> Signed-off-by: Divy Le Ray <divy@...lsio.com>
> ---
> 
>  drivers/net/cxgb3/cxgb3_ioctl.h |   21 ++++-------------
>  drivers/net/cxgb3/cxgb3_main.c  |   48 +++------------------------------------
>  2 files changed, 9 insertions(+), 60 deletions(-)
> 
> diff --git a/drivers/net/cxgb3/cxgb3_ioctl.h b/drivers/net/cxgb3/cxgb3_ioctl.h
> index a942818..42d4bf6 100644
> --- a/drivers/net/cxgb3/cxgb3_ioctl.h
> +++ b/drivers/net/cxgb3/cxgb3_ioctl.h
> @@ -36,28 +36,17 @@
>   * Ioctl commands specific to this driver.
>   */
>  enum {
> -	CHELSIO_SETREG = 1024,
> -	CHELSIO_GETREG,
> -	CHELSIO_SETTPI,
> -	CHELSIO_GETTPI,
> -	CHELSIO_GETMTUTAB,
> +	CHELSIO_GETMTUTAB = 1024,
>  	CHELSIO_SETMTUTAB,
> -	CHELSIO_GETMTU,
> -	CHELSIO_SET_PM,
> -	CHELSIO_GET_PM,
> -	CHELSIO_GET_TCAM,
> -	CHELSIO_SET_TCAM,
> -	CHELSIO_GET_TCB,
>  	CHELSIO_GET_MEM,
>  	CHELSIO_LOAD_FW,
> -	CHELSIO_GET_PROTO,
> -	CHELSIO_SET_PROTO,
>  	CHELSIO_SET_TRACE_FILTER,
> -	CHELSIO_SET_QSET_PARAMS,
>  	CHELSIO_GET_QSET_PARAMS,
> -	CHELSIO_SET_QSET_NUM,
> +	CHELSIO_SET_QSET_PARAMS,
>  	CHELSIO_GET_QSET_NUM,
> -	CHELSIO_SET_PKTSCHED,
> +	CHELSIO_SET_QSET_NUM,
> +	CHELSIO_GET_PM,
> +	CHELSIO_SET_PM,
>  };
>  

I disagree. This is very bad.

1. Please do do change the values.
2. Explain why you are going to kill these ioctls.

Regards,

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