Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1320714

[PATCH 0/3] lib: add "on" and "off" to strtobool

Path csiph.com!xmission!news.glorb.com!bofh.it!news.nic.it!robomod
From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject [PATCH 0/3] lib: add "on" and "off" to strtobool
Date Thu, 28 Jan 2016 15:20:01 +0100
Message-ID <qVVAt-4Ce-1@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=kzbGpYVb/kgcZM0B6P0KtJY29LSjjJsKEb4+mjkTf5E=; b=gY6fwZia2+Q1Vq33twfhUU35DqUmG7pBg0nBGLXW3Iv6af5PO9127ZfNGB2II1V/xO qBVz+uYcCtaKCd9kpmvL/b9KrtaOcg8GRgRdTWFuqrfy5OxJ8YS3O9yyloYtXO+JVxtQ BKNkPoGVZ8CrXBjaSRt8uehjnVV6sfFylLqPE=
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kzbGpYVb/kgcZM0B6P0KtJY29LSjjJsKEb4+mjkTf5E=; b=PkrJve9VZXklo64bAbF5op4lZ9uPylxgvWwC704lBQfVU7DfXjYMJ01DZ7I2iOWbO5 VeO3wJoJFbUSCYAsu9Qq1itYaeWCtlAYPT5zFXQkNNIDYtyqU44pFNpuAr32vXytubYS GrXolnMZFjYPEocHaZbZ0dndaItLfV4GsYuznaO8D+ITEb6ahQPCEOMz0Y643ym99KDf OoyW7PNbzbzSGZ4mIIp8tzTaAVuUrmjK0UaouzR8u5MSRIBF50kTDVldLK6IbMq4uH+y u/VkV66BsL0BJk0gJ47llzuzSMG/573YhGuLuY0ZGjrLPmQcSBrCjG74E4MffWpoI/Gs G+OA==
X-Gm-Message-State AG10YOQVPEH4Fe1zU+67vhJj8MS/QHrd/Qbr+6GuN96XGdhoYjXPfi/jTwCX1aCpjEveRA==
X-Received by 10.98.42.81 with SMTP id q78mr4797621pfq.142.1453990634854; Thu, 28 Jan 2016 06:17:14 -0800 (PST)
X-Mailer git-send-email 2.6.3
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 5
Organization linux.* mail to news gateway
X-Original-Cc Kees Cook <keescook@chromium.org>, Joe Perches <joe@perches.com>, Rasmus Villemoes <linux@rasmusvillemoes.dk>, Daniel Borkmann <daniel@iogearbox.net>, Amitkumar Karwar <akarwar@marvell.com>, Nishant Sarmukadam <nishants@marvell.com>, Kalle Valo <kvalo@codeaurora.org>, Steve French <sfrench@samba.org>, Michael Ellerman <mpe@ellerman.id.au>, Heiko Carstens <heiko.carstens@de.ibm.com>, Martin Schwidefsky <schwidefsky@de.ibm.com>, x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Thu, 28 Jan 2016 06:17:04 -0800
X-Original-Message-ID <1453990627-19164-1-git-send-email-keescook@chromium.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1320714

Show key headers only | View raw


This consolidates logic for handling "on"/"off" parsing for bools into
the existing strtobool function. This requires making sure callers are
passing NULL-terminated strings.

-Kees

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] lib: add "on" and "off" to strtobool Kees Cook <keescook@chromium.org> - 2016-01-28 15:20 +0100
  [PATCH 1/3] lib: fix callers of strtobool to use char array Kees Cook <keescook@chromium.org> - 2016-01-28 15:20 +0100
    Re: [PATCH 1/3] lib: fix callers of strtobool to use char array Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-02-01 14:20 +0100
      Re: [PATCH 1/3] lib: fix callers of strtobool to use char array Kees Cook <keescook@chromium.org> - 2016-02-04 20:00 +0100
  [PATCH 2/3] lib: add "on" and "off" to strtobool Kees Cook <keescook@chromium.org> - 2016-01-28 15:20 +0100
  [PATCH 3/3] param: convert some "on"/"off" users to strtobool Kees Cook <keescook@chromium.org> - 2016-01-28 15:30 +0100
    Re: [PATCH 3/3] param: convert some "on"/"off" users to strtobool Heiko Carstens <heiko.carstens@de.ibm.com> - 2016-01-28 16:30 +0100
    Re: [PATCH 3/3] param: convert some "on"/"off" users to strtobool Michael Ellerman <mpe@ellerman.id.au> - 2016-01-29 04:20 +0100

csiph-web