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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 10 Dec 2013 21:39:43 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	yangyingliang@...wei.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net_sched: add messages to distinguish errors
 when modify qdisc

From: Yang Yingliang <yangyingliang@...wei.com>
Date: Wed, 11 Dec 2013 10:37:01 +0800

> Then how about change the errno, is that ok ?

No, it will break existing code.

This is really an old topic which has been discussed before.

The problem is that signalling a single integer for errors is
not sufficient enough to transmit the necessary information
to the user.

You have to therefore think more largely about this problem than
trying to fix it easily with some error code adjustments.  The
problem is fundamentally that we only return error codes to
userspace, rather than something more sophisticated.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ