Skip to content

Fix y2038 issues for security/keys subsystem

Baolin Wang keyrings linux-security-module lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v13 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Add reviewed tag from Arnd.
- Drop Patch 3 which had been merged into kernel 4.14 by David.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2security: keys: Replace time_t/timespec with time64_tinclude/linux/key.h security/keys/gc.c security/keys/internal.h +5 more+45 -520 replies
2/2security: keys: Replace time_t with time64_t for struct key_preparsed_payloadinclude/linux/key-type.h security/keys/key.c+5 -50 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchArnd BergmannJames Morris
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Fix y2038 issues for security/keys subsystem

Since 'time_t', 'timeval' and 'timespec' types are not year 2038 safe on 32 bits system, this patchset tries to fix this issues for security/keys subsystem.

Changes since v1:
- Add reviewed tag from Arnd.
- Drop Patch 3 which had been merged into kernel 4.14 by David.

Baolin Wang (2):
security: keys: Replace time_t/timespec with time64_t
security: keys: Replace time_t with time64_t for struct
key_preparsed_payload

 include/linux/key-type.h     |    2 +-
 include/linux/key.h          |    7 ++++---
 security/keys/gc.c           |   20 ++++++++++----------
 security/keys/internal.h     |    8 ++++----
 security/keys/key.c          |   27 ++++++++++-----------------
 security/keys/keyring.c      |   18 +++++++++---------
 security/keys/permission.c   |    3 +--
 security/keys/proc.c         |   20 ++++++++++----------
 security/keys/process_keys.c |    2 +-
 9 files changed, 50 insertions(+), 57 deletions(-)
Signature · 1 line
1.7.9.5