---
title: vfs_clearauthcache_ttl
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.5+]
path: kernel/1523469-vfs_clearauthcache_ttl
---

# vfs_clearauthcache_ttl

Remove time-to-live controls for cached credentials on a filesytem. Filesystems with remote authorization decisions (opaque) will still have KAUTH_VNODE_SEARCH rights cached for a default of CACHED_LOOKUP_RIGHT_TTL seconds.

## Declaration

```occ
void vfs_clearauthcache_ttl(mount_t mp);
```

## Parameters

- `mp`: Mount for which to clear cache lifetime.

## Return Value

Return Value void.
