1/* $FreeBSD: stable/11/sys/fs/cuse/cuse.c 359652 2020-04-06 07:16:31Z hselasky $ */ |
2/*- 3 * Copyright (c) 2010-2020 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 253 unchanged lines hidden (view full) --- 263 264 cuse_dev = make_dev(&cuse_server_devsw, 0, 265 UID_ROOT, GID_OPERATOR, 0600, "cuse"); 266 267 printf("Cuse v%d.%d.%d @ /dev/cuse\n", 268 (CUSE_VERSION >> 16) & 0xFF, (CUSE_VERSION >> 8) & 0xFF, 269 (CUSE_VERSION >> 0) & 0xFF); 270} |
271SYSINIT(cuse_kern_init, SI_SUB_DEVFS, SI_ORDER_ANY, cuse_kern_init, NULL); |
272 273static void 274cuse_kern_uninit(void *arg) 275{ 276 void *ptr; 277 278 while (1) { 279 --- 1667 unchanged lines hidden --- |