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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 3 Mar 2019 18:19:35 +0100
From:   Heiner Kallweit <hkallweit1@...il.com>
To:     Florian Fainelli <f.fainelli@...il.com>,
        Andrew Lunn <andrew@...n.ch>,
        David Miller <davem@...emloft.net>
Cc:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [PATCH net-next 0/2] lib: string: add strreplace_nonalnum

Add a new function strreplace_nonalnum that replaces all
non-alphanumeric characters. Such functionality is needed e.g. when a
string is supposed to be used in a file name. If '\0' is given as new
character then non-alphanumeric characters are cut. 

There doesn't seem to be a maintainer or mailing list for lib/string.c
Therefore I hope it's ok to submit this through the netdev tree.

Heiner Kallweit (2):
  lib: string: add strreplace_nonalnum
  net: phy: aquantia: use new function strreplace_nonalnum

 drivers/net/phy/aquantia_hwmon.c | 10 +---------
 include/linux/string.h           |  1 +
 lib/string.c                     | 27 +++++++++++++++++++++++++++
 3 files changed, 29 insertions(+), 9 deletions(-)

-- 
2.21.0

Powered by blists - more mailing lists