Files
twx-linux/include/uapi/linux
Pavel Emelyanov 274038f8c9 tun: Report "persist" flag to userspace
The TUN_PERSIST flag is not reported at all -- both TUNGETIFF, and sysfs
"flags" attribute skip one. Knowing whether a device is persistent or not
is critical for checkpoint-restore, thus I propose to add the read-only
IFF_PERSIST one for this.

Setting this new IFF_PERSIST is hardly possible, as TUNSETIFF doesn't check
for unknown flags being zero and thus there can be trash.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-12 15:07:21 -07:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-04-26 16:08:16 +10:00
…
…
…
…
…
…
…
2013-05-06 15:55:19 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-03-27 14:37:47 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-03-28 01:20:42 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-03-17 19:40:50 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-02-27 19:10:22 -08:00
…
…
…
…
…
2013-04-19 14:57:57 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-03-06 15:40:53 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-06-10 21:22:35 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2013-03-17 14:35:13 -04:00
…
2013-03-22 16:19:59 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-03-21 12:36:33 -04:00
…
…
…
…
2013-05-02 13:40:15 +03:00
…
…
…
…