Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: tpmd_dev/openbsd/tpmd_dev.c

Issue 660204: Upgrade to tpm-emulator version 0.7. (Closed)
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tpmd_dev/openbsd/tpmd_dev.h ('k') | tpmd_dev/tpmd_dev.rules.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Software-Based Trusted Platform Module (TPM) Emulator for OpenBSD 1 /* Software-based Trusted Platform Module (TPM) Emulator
2  * Copyright (C) 2007 Sebastian Schuetz <sebastian_schuetz@genua.de> 2 * Copyright (C) 2004-2010 Mario Strasser <mast@gmx.net>
3  * Copyright (C) 2007 Mario Strasser <mast@gmx.net>, 3 * Copyright (C) 2007 Sebastian Schuetz <sebastian_schuetz@genua.de>
4  *                    Swiss Federal Institute of Technology (ETH) Zurich 4 *
5  * 5 * This module is free software; you can redistribute it and/or modify
6  * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published
7  * it under the terms of the GNU General Public License as published 7 * by the Free Software Foundation; either version 2 of the License,
8  * by the Free Software Foundation; either version 2 of the License, 8 * or (at your option) any later version.
9  * or (at your option) any later version. 9 *
10  * 10 * This module is distributed in the hope that it will be useful,
11  * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 13 * GNU General Public License for more details.
14  * GNU General Public License for more details. 14 *
15  * 15 * $Id$
16  * $Id$ 16 */
17  */
18 17
19 #include <sys/param.h> 18 #include <sys/param.h>
20 #include <sys/fcntl.h> 19 #include <sys/fcntl.h>
21 #include <sys/systm.h> 20 #include <sys/systm.h>
22 #include <sys/ioctl.h> 21 #include <sys/ioctl.h>
23 #include <sys/exec.h> 22 #include <sys/exec.h>
24 #include <sys/conf.h> 23 #include <sys/conf.h>
25 #include <sys/lkm.h> 24 #include <sys/lkm.h>
26 #include <sys/malloc.h> 25 #include <sys/malloc.h>
27 #include <sys/socket.h> 26 #include <sys/socket.h>
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 281
283 /* our main entry point */ 282 /* our main entry point */
284 int 283 int
285 tpm(struct lkm_table *lkmtp, int cmd, int ver) 284 tpm(struct lkm_table *lkmtp, int cmd, int ver)
286 { 285 {
287 DISPATCH(lkmtp,cmd,ver,tpm_handler,tpm_handler,lkm_nofunc); 286 DISPATCH(lkmtp,cmd,ver,tpm_handler,tpm_handler,lkm_nofunc);
288 } 287 }
289 288
290 289
291 290
OLDNEW
« no previous file with comments | « tpmd_dev/openbsd/tpmd_dev.h ('k') | tpmd_dev/tpmd_dev.rules.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698