From mboxrd@z Thu Jan 1 00:00:00 1970 From: valdis.kletnieks@vt.edu (valdis.kletnieks at vt.edu) Date: Thu, 13 Apr 2017 12:00:59 -0400 Subject: Per container uptime? In-Reply-To: <20170413143416.GB5209@sith> References: <20170413143416.GB5209@sith> Message-ID: <10133.1492099259@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, 13 Apr 2017 16:34:17 +0200, Fran?ois said: > Do you think it makes sense at all? The bigger question is whether there's stuff that runs in a container that wants the system uptime, which would break under this API change. > Any hint on how to get started on that? It's trivial - note the uptime at container creation, stash the value in the container struct, and subtract when an uptime request happens. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 484 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170413/7f4ed2c1/attachment.bin