Yury Norov
942fa985e9
32-bit userspace ABI: introduce ARCH_32BIT_OFF_T config option
...
All new 32-bit architectures should have 64-bit userspace off_t type, but
existing architectures has 32-bit ones.
To enforce the rule, new config option is added to arch/Kconfig that defaults
ARCH_32BIT_OFF_T to be disabled for new 32-bit architectures. All existing
32-bit architectures enable it explicitly.
New option affects force_o_largefile() behaviour. Namely, if userspace
off_t is 64-bits long, we have no reason to reject user to open big files.
Note that even if architectures has only 64-bit off_t in the kernel
(arc, c6x, h8300, hexagon, nios2, openrisc, and unicore32),
a libc may use 32-bit off_t, and therefore want to limit the file size
to 4GB unless specified differently in the open flags.
Signed-off-by: Yury Norov <ynorov@caviumnetworks.com >
Acked-by: Arnd Bergmann <arnd@arndb.de >
Signed-off-by: Yury Norov <ynorov@marvell.com >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
2019-02-19 10:10:05 +01:00
..
2019-01-07 22:47:48 +01:00
2019-01-01 15:45:48 -08:00
2018-12-28 20:54:57 -08:00
2018-12-28 20:00:21 -08:00
2019-01-06 11:40:06 -08:00
2018-12-28 14:57:10 -08:00
2018-12-28 16:52:18 -08:00
2018-12-28 20:54:57 -08:00
2018-12-20 18:20:26 -08:00
2019-01-12 21:07:14 -08:00
2019-01-02 18:56:59 -08:00
2018-12-28 20:22:45 -08:00
2018-12-20 08:53:23 -08:00
2019-01-04 13:13:47 -08:00
2018-12-28 16:52:18 -08:00
2019-01-02 16:35:23 -08:00
2018-12-25 15:01:46 -08:00
2018-12-28 12:11:46 -08:00
2019-01-05 13:18:59 -08:00
2018-12-21 08:47:05 -07:00
2018-12-28 14:48:06 -08:00
2019-01-02 16:01:24 -08:00
2019-01-04 13:13:45 -08:00
2019-02-07 00:13:27 +01:00
2018-12-28 12:11:43 -08:00
2018-12-28 12:11:43 -08:00
2019-01-09 10:35:56 +01:00
2018-12-23 11:52:45 +08:00
2019-01-04 09:02:17 +01:00
2019-01-08 07:58:49 -05:00
2018-12-20 09:51:31 -07:00
2019-01-06 09:46:51 +09:00
2019-01-02 09:43:14 -08:00
2018-12-20 19:13:07 +01:00
2019-02-19 10:10:05 +01:00
2019-01-02 16:01:24 -08:00
2018-12-28 16:55:46 -08:00
2018-12-31 11:46:59 -08:00
2019-01-04 13:13:46 -08:00
2018-12-20 09:51:31 -07:00
2018-12-28 12:11:52 -08:00
2019-01-03 12:50:28 +01:00
2018-12-28 12:11:47 -08:00
2018-12-28 12:11:52 -08:00
2018-12-28 12:11:50 -08:00
2019-01-06 09:46:51 +09:00
2019-01-06 09:46:51 +09:00
2018-12-28 12:11:44 -08:00
2019-01-04 13:13:47 -08:00
2018-12-26 17:03:51 -08:00
2018-12-30 08:33:06 +00:00
2018-12-26 17:03:51 -08:00
2018-12-21 11:28:22 +01:00
2018-12-25 14:52:50 -08:00
2018-12-21 12:44:41 -08:00
2018-12-21 11:50:02 -05:00
2018-12-21 22:31:26 -06:00
2018-12-21 22:31:26 -06:00
2018-12-28 12:11:49 -08:00
2018-12-28 12:11:48 -08:00
2018-12-28 12:11:50 -08:00
2018-12-28 12:11:52 -08:00
2018-12-28 12:11:51 -08:00
2019-01-04 13:13:48 -08:00
2019-01-04 13:13:48 -08:00
2018-12-28 12:11:50 -08:00
2019-01-08 17:15:11 -08:00
2018-12-25 12:26:34 -08:00
2019-01-09 10:35:56 +01:00
2018-12-20 16:32:56 +00:00
2019-01-06 09:46:51 +09:00
2019-01-06 09:46:51 +09:00
2018-12-20 16:43:54 -08:00
2018-12-28 20:08:34 -08:00
2018-12-28 12:11:48 -08:00
2018-12-28 12:11:44 -08:00
2018-12-28 12:11:50 -08:00
2018-12-28 12:11:46 -08:00
2018-12-28 12:11:51 -08:00
2018-12-28 12:11:48 -08:00
2019-01-05 17:57:34 -08:00
2019-01-08 07:58:37 -05:00
2019-01-05 17:57:34 -08:00
2018-12-27 16:29:31 -08:00
2019-01-04 12:19:40 +01:00
2019-02-07 00:13:27 +01:00
2019-01-04 13:13:46 -08:00
2019-01-01 11:58:33 -08:00
2019-01-10 17:04:45 -06:00
2019-01-03 18:57:57 -08:00
2019-01-07 16:38:26 +01:00
2018-12-20 12:17:05 -07:00
2019-01-09 10:29:03 +01:00
2018-12-21 11:50:02 -05:00
2018-12-28 13:19:59 -08:00
2018-12-20 23:47:09 +01:00
2018-12-28 12:11:44 -08:00
2018-12-29 11:21:49 -08:00
2018-12-28 12:45:04 -08:00
2018-12-22 22:50:29 -05:00
2018-12-28 12:11:47 -08:00
2019-02-07 00:13:27 +01:00
2019-02-07 00:13:27 +01:00
2019-02-07 00:13:28 +01:00
2019-02-07 00:13:28 +01:00
2019-01-04 12:56:09 -08:00
2018-12-28 12:11:51 -08:00
2018-12-22 12:15:29 +01:00
2018-12-28 12:11:46 -08:00