History log of /barrelfish-master/usr/monitor/capops/revoke.c
Revision Date Author Comments
# 9bd8d1d5 03-Apr-2019 Reto Achermann <reto.achermann@inf.ethz.ch>

replacing umlaute and fixing address in headers Haldeneggsteig -> Universitaetsstrasse

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# 969e566a 22-Mar-2018 Reto Achermann <reto.achermann@inf.ethz.ch>

monitor: remove unused code from the revoke notify

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# d0bf89cc 22-Mar-2018 Reto Achermann <reto.achermann@inf.ethz.ch>

monitor: support for registering revoke notifications

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# 43da6ee5 06-Nov-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor,capops: improve revoke + retype TRACE-points

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 7ca08904 06-Nov-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor,capops: improve revoke + retype TRACE-points

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# e3158bfb 03-Nov-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: add extra trace points between revoke phases

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# ed4c62f8 03-Nov-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: add extra trace points between revoke phases

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 1e255e7c 03-Nov-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: add TRACE-points to capops_revoke()

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# b64e97a9 03-Nov-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: add TRACE-points to capops_revoke()

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 538ec806 28-Aug-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: ownership xfer, delete, retype, revoke: delete temp capabilities when operations done

The monitor domain did not cleanup root cnode capabilities which it receives
on a temporary basis during some of the distributed capability operations.
Depending on operation order this led to a steadily growing number of
capabilities on some cores.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 6bd6bbbc 19-Oct-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

T310: capops: Replace num_monitors_online() with num_monitors_ready_for_capops()

This commit replaces num_monitors_online() which was implemented as a query to
octopus for the number of online spawnd processes, with a function that counts
all intermon bindings that have the capops_ready flag set. This is what we
really need to know to decide what to do in the distributed capabilities code.

Closes T310.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 17948f60 22-Jul-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

T258, T264, T270: Implement two-level cspace layout using L1/L2 CNode objects.

distops functionality is NYI.

This commit also makes the root cnodes explicit for sys_map(), closes T270.

Notable changes:
* LRPC LMP endpoints are regular capabilities in L2 cnode, no longer in root
cnode.
* Capability operations take a capability address for the root cnode relative
to which capability addresses are to be resolved. The root cnode capability
address must be resolvable in the current domains cspace.

Closes T264.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 2d6614ea 23-May-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

T242: handle FLOUNDER_ERR_TX_BUSY for all capops

Closes T242.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 5c0dca65 14-Aug-2015 Reto Achermann <reto.achermann@inf.ethz.ch>

T152: fixing memory leakage, missing of free state

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# 32335032 05-Aug-2015 Reto Achermann <reto.achermann@inf.ethz.ch>

monitor: bugfixes in the revocation protocol

revoke_local was called twice resulting in state corruption

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# 908f2c97 05-Aug-2015 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: distops: add missing free + assert in retrieve.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 585b0dc0 05-Aug-2015 Reto Achermann <reto.achermann@inf.ethz.ch>

monitor: handover of correct state for cap revocations

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# f895a7cc 05-Aug-2015 Reto Achermann <reto.achermann@inf.ethz.ch>

monitor: bugfixes in the revocation protocol

revoke_local was called twice resulting in state corruption

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# 245b6228 05-Aug-2015 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: distops: add missing free + assert in retrieve.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# a0a501dc 05-Aug-2015 Reto Achermann <reto.achermann@inf.ethz.ch>

monitor: handover of correct state for cap revocations

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# 22024d29 28-Nov-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

capsend broadcast: can now remember set of destination cores for operations involving >1 broadcast.


# 54cef89c 26-Nov-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Implemented simple octopus-based num_monitors_online() query.


# d9d57e99 05-Nov-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: fixed revoke and delete paths for single-core execution.


# e56f514a 25-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Make x86_32 compile; some of the monitor invocations are disabled right now.


# 11c2c36d 18-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

fixed stuff + more output.


# 4c0080c9 23-Jul-2013 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: Fixed missing list cleanup in capops/revoke.


# ac0cfe1e 22-Jul-2013 Simon Gerber <simon.gerber@inf.ethz.ch>

Added explanatory printf in revoke machinery; fixed DEBUG_ERR in spawnd:cleanup_cap().


# e67f0f78 22-Jul-2013 Simon Gerber <simon.gerber@inf.ethz.ch>

Fixed some issues in revoke machinery.


# b9db7ed3 03-Jul-2012 Mark Nevill <nevillm@ethz.ch>

Rewrote distributed revoke and delete handling.


# 1a351f2c 09-Jun-2012 Mark Nevill <nevillm@ethz.ch>

Incomplete cleanup of delete capop to use conts.


# 902802f6 30-May-2012 Mark Nevill <nevillm@ethz.ch>

Fixed cap locking in revoke.


# 564af333 22-May-2012 Mark Nevill <nevillm@ethz.ch>

Added function to initialize intermon rx_vtbl capop entries.


# 061b592c 02-Apr-2012 Mark Nevill <nevillm@ethz.ch>

Removed some debugging prints.


# 83ab1e5c 29-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added and fixed various debug printfs related to cap operations.


# e761011d 27-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Export capop rx handlers so they can be used in vtbls.


# 088e0857 27-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Moved capops headers into monitor's include dir, added function prefix.


# 964c359a 23-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Re-enabled "remote_relations" in mdb and fixed over-eager memory reclamation.


# 2633a91c 20-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Integrated delete & revoke handling.


# 1ba26ae6 19-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Changed API to better support caps from other domains.

In particular, this uses a (capref, capaddr, bits) tuple whenever a copy
a reference to a particular cap/slot is necessary, and thus copying the
cap in question is not possible.


# 92ab4a1c 16-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Prefix remaining unimplemented invocatios with "monitor_".


# 3a8e4d69 14-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Migrated capops to clearer "locking" semantics.


# 5805659c 13-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Integrated error codes into errno.fugu.


# 8c02a1f1 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added invocations for distcap_get_state.


# fbfb47fb 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added capop messages to intermon.if.


# 7322a334 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Reordered some things in revoke.c for clarity.


# f7959897 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Suitably prefixed all "capsend" functions.


# c2274979 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Renamed capops/transport to capops/capsend.


# e6b79acb 07-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added retype, made things more compilable.


# e1d0c449 07-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added some code for revoke&delete, does not compile.