Print this page
uts: Allow for address space randomisation.
Randomise the base addresses of shared objects, non-fixed mappings, the
stack and the heap. Introduce a service, svc:/system/process-security,
and a tool psecflags(1) to control and observe it
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/common/sys/Makefile
+++ new/usr/src/uts/common/sys/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 # Copyright 2013, Joyent, Inc. All rights reserved.
24 24 # Copyright 2013 Garrett D'Amore <garrett@damore.org>
25 25 #
26 26
27 27 include $(SRC)/uts/Makefile.uts
28 28
29 29 FILEMODE=644
30 30
31 31 #
32 32 # Note that the following headers are present in the kernel but
33 33 # neither installed or shipped as part of the product:
34 34 # cpuid_drv.h: Private interface for cpuid consumers
35 35 # unix_bb_info.h: Private interface to kcov
36 36 #
37 37
38 38 i386_HDRS= \
39 39 agp/agpamd64gart_io.h \
40 40 agp/agpdefs.h \
41 41 agp/agpgart_impl.h \
42 42 agp/agpmaster_io.h \
43 43 agp/agptarget_io.h \
44 44 agpgart.h \
45 45 asy.h \
46 46 fd_debug.h \
47 47 fdc.h \
48 48 fdmedia.h \
49 49 mouse.h \
50 50 ucode.h
51 51
52 52 sparc_HDRS= \
53 53 mouse.h \
54 54 scsi/targets/ssddef.h \
55 55 $(MDESCHDRS)
56 56
57 57 # Generated headers
58 58 GENHDRS= \
59 59 priv_const.h \
60 60 priv_names.h \
61 61 usb/usbdevs.h
62 62
63 63 CHKHDRS= \
64 64 acpi_drv.h \
65 65 acct.h \
66 66 acctctl.h \
67 67 acl.h \
68 68 acl_impl.h \
69 69 aggr.h \
70 70 aggr_impl.h \
71 71 aio.h \
72 72 aio_impl.h \
73 73 aio_req.h \
74 74 aiocb.h \
75 75 ascii.h \
76 76 asynch.h \
77 77 atomic.h \
78 78 attr.h \
79 79 audio.h \
80 80 audioio.h \
81 81 autoconf.h \
82 82 auxv.h \
83 83 auxv_386.h \
84 84 auxv_SPARC.h \
85 85 avl.h \
86 86 avl_impl.h \
87 87 bitmap.h \
88 88 bitset.h \
89 89 bl.h \
90 90 blkdev.h \
91 91 bofi.h \
92 92 bofi_impl.h \
93 93 bpp_io.h \
94 94 bootstat.h \
95 95 brand.h \
96 96 buf.h \
97 97 bufmod.h \
98 98 bustypes.h \
99 99 byteorder.h \
100 100 callb.h \
101 101 callo.h \
102 102 cap_util.h \
103 103 cpucaps.h \
104 104 cpucaps_impl.h \
105 105 ccompile.h \
106 106 cdio.h \
107 107 cladm.h \
108 108 class.h \
109 109 clconf.h \
110 110 clock_impl.h \
111 111 cmlb.h \
112 112 cmn_err.h \
113 113 compress.h \
114 114 condvar.h \
115 115 condvar_impl.h \
116 116 conf.h \
117 117 consdev.h \
118 118 console.h \
119 119 consplat.h \
120 120 vt.h \
121 121 vtdaemon.h \
122 122 kd.h \
123 123 contract.h \
124 124 contract_impl.h \
125 125 copyops.h \
126 126 core.h \
127 127 corectl.h \
128 128 cpc_impl.h \
129 129 cpc_pcbe.h \
130 130 cpr.h \
131 131 cpupart.h \
132 132 cpuvar.h \
133 133 crc32.h \
134 134 cred.h \
135 135 cred_impl.h \
136 136 crtctl.h \
137 137 cryptmod.h \
138 138 csiioctl.h \
139 139 ctf.h \
140 140 ctfs.h \
141 141 ctfs_impl.h \
142 142 ctf_api.h \
143 143 ctype.h \
144 144 cyclic.h \
145 145 cyclic_impl.h \
146 146 dacf.h \
147 147 dacf_impl.h \
148 148 damap.h \
149 149 damap_impl.h \
150 150 dc_ki.h \
151 151 ddi.h \
152 152 ddifm.h \
153 153 ddifm_impl.h \
154 154 ddi_hp.h \
155 155 ddi_hp_impl.h \
156 156 ddi_intr.h \
157 157 ddi_intr_impl.h \
158 158 ddi_impldefs.h \
159 159 ddi_implfuncs.h \
160 160 ddi_obsolete.h \
161 161 ddi_periodic.h \
162 162 ddidevmap.h \
163 163 ddidmareq.h \
164 164 ddimapreq.h \
165 165 ddipropdefs.h \
166 166 dditypes.h \
167 167 debug.h \
168 168 des.h \
169 169 devctl.h \
170 170 devcache.h \
171 171 devcache_impl.h \
172 172 devfm.h \
173 173 devid_cache.h \
174 174 devinfo_impl.h \
175 175 devops.h \
176 176 devpolicy.h \
177 177 devpoll.h \
178 178 dirent.h \
179 179 disp.h \
180 180 dkbad.h \
181 181 dkio.h \
182 182 dklabel.h \
183 183 dl.h \
184 184 dlpi.h \
185 185 dld.h \
186 186 dld_impl.h \
187 187 dld_ioc.h \
188 188 dls.h \
189 189 dls_mgmt.h \
190 190 dls_impl.h \
191 191 dma_i8237A.h \
192 192 dnlc.h \
193 193 door.h \
194 194 door_data.h \
195 195 door_impl.h \
196 196 dtrace.h \
197 197 dtrace_impl.h \
198 198 dumpadm.h \
199 199 dumphdr.h \
200 200 ecppsys.h \
201 201 ecppio.h \
202 202 ecppreg.h \
203 203 ecppvar.h \
204 204 efi_partition.h \
205 205 elf.h \
206 206 elf_386.h \
207 207 elf_SPARC.h \
208 208 elf_notes.h \
209 209 elf_amd64.h \
210 210 elftypes.h \
211 211 emul64.h \
212 212 emul64cmd.h \
213 213 emul64var.h \
214 214 epm.h \
215 215 errno.h \
216 216 errorq.h \
217 217 errorq_impl.h \
218 218 esunddi.h \
219 219 ethernet.h \
220 220 euc.h \
221 221 eucioctl.h \
222 222 exacct.h \
223 223 exacct_catalog.h \
224 224 exacct_impl.h \
225 225 exec.h \
226 226 exechdr.h \
227 227 extdirent.h \
228 228 fault.h \
229 229 fasttrap.h \
230 230 fasttrap_impl.h \
231 231 fbio.h \
232 232 fbuf.h \
233 233 fcntl.h \
234 234 fct.h \
235 235 fct_defines.h \
236 236 fctio.h \
237 237 fdbuffer.h \
238 238 fdio.h \
239 239 feature_tests.h \
240 240 fem.h \
241 241 file.h \
242 242 filio.h \
243 243 flock.h \
244 244 flock_impl.h \
245 245 fork.h \
246 246 fss.h \
247 247 fsspriocntl.h \
248 248 fsid.h \
249 249 fssnap.h \
250 250 fssnap_if.h \
251 251 fstyp.h \
252 252 ftrace.h \
253 253 fx.h \
254 254 fxpriocntl.h \
255 255 gfs.h \
256 256 gld.h \
257 257 gldpriv.h \
258 258 group.h \
259 259 hdio.h \
260 260 hook.h \
261 261 hook_event.h \
262 262 hook_impl.h \
263 263 hwconf.h \
264 264 ia.h \
265 265 iapriocntl.h \
266 266 ibpart.h \
267 267 id32.h \
268 268 idmap.h \
269 269 ieeefp.h \
270 270 id_space.h \
271 271 instance.h \
272 272 int_const.h \
273 273 int_fmtio.h \
274 274 int_limits.h \
275 275 int_types.h \
276 276 inttypes.h \
277 277 ioccom.h \
278 278 ioctl.h \
279 279 ipc.h \
280 280 ipc_impl.h \
281 281 ipc_rctl.h \
282 282 ipd.h \
283 283 ipmi.h \
284 284 isa_defs.h \
285 285 iscsi_authclient.h \
286 286 iscsi_authclientglue.h \
287 287 iscsi_protocol.h \
288 288 jioctl.h \
289 289 kbd.h \
290 290 kbdreg.h \
291 291 kbio.h \
292 292 kcpc.h \
293 293 kdi.h \
294 294 kdi_impl.h \
295 295 kiconv.h \
296 296 kiconv_big5_utf8.h \
297 297 kiconv_cck_common.h \
298 298 kiconv_cp950hkscs_utf8.h \
299 299 kiconv_emea1.h \
300 300 kiconv_emea2.h \
301 301 kiconv_euckr_utf8.h \
302 302 kiconv_euctw_utf8.h \
303 303 kiconv_gb18030_utf8.h \
304 304 kiconv_gb2312_utf8.h \
305 305 kiconv_hkscs_utf8.h \
306 306 kiconv_ja.h \
307 307 kiconv_ja_jis_to_unicode.h \
308 308 kiconv_ja_unicode_to_jis.h \
309 309 kiconv_ko.h \
310 310 kiconv_latin1.h \
311 311 kiconv_sc.h \
312 312 kiconv_tc.h \
313 313 kiconv_uhc_utf8.h \
314 314 kiconv_utf8_big5.h \
315 315 kiconv_utf8_cp950hkscs.h \
316 316 kiconv_utf8_euckr.h \
317 317 kiconv_utf8_euctw.h \
318 318 kiconv_utf8_gb18030.h \
319 319 kiconv_utf8_gb2312.h \
320 320 kiconv_utf8_hkscs.h \
321 321 kiconv_utf8_uhc.h \
322 322 kidmap.h \
323 323 klpd.h \
324 324 klwp.h \
325 325 kmdb.h \
326 326 kmem.h \
327 327 kmem_impl.h \
328 328 kobj.h \
329 329 kobj_impl.h \
330 330 ksocket.h \
331 331 kstat.h \
332 332 kstr.h \
333 333 ksyms.h \
334 334 ksynch.h \
335 335 ldterm.h \
336 336 lgrp.h \
337 337 lgrp_user.h \
338 338 libc_kernel.h \
339 339 link.h \
340 340 list.h \
341 341 list_impl.h \
342 342 llc1.h \
343 343 loadavg.h \
344 344 lock.h \
345 345 lockfs.h \
346 346 lockstat.h \
347 347 lofi.h \
348 348 log.h \
349 349 logindmux.h \
350 350 logindmux_impl.h \
351 351 lwp.h \
352 352 lwp_timer_impl.h \
353 353 lwp_upimutex_impl.h \
354 354 lpif.h \
355 355 mac.h \
356 356 mac_client.h \
357 357 mac_client_impl.h \
358 358 mac_ether.h \
359 359 mac_flow.h \
360 360 mac_flow_impl.h \
361 361 mac_impl.h \
362 362 mac_provider.h \
363 363 mac_soft_ring.h \
364 364 mac_stat.h \
365 365 machelf.h \
366 366 map.h \
367 367 md4.h \
368 368 md5.h \
369 369 md5_consts.h \
370 370 mdi_impldefs.h \
371 371 mem.h \
372 372 mem_config.h \
373 373 memlist.h \
374 374 mkdev.h \
375 375 mhd.h \
376 376 mii.h \
377 377 miiregs.h \
378 378 mixer.h \
379 379 mman.h \
380 380 mmapobj.h \
381 381 mntent.h \
382 382 mntio.h \
383 383 mnttab.h \
384 384 modctl.h \
385 385 mode.h \
386 386 model.h \
387 387 modhash.h \
388 388 modhash_impl.h \
389 389 mount.h \
390 390 mouse.h \
391 391 msacct.h \
392 392 msg.h \
393 393 msg_impl.h \
394 394 msio.h \
395 395 msreg.h \
396 396 mtio.h \
397 397 multidata.h \
398 398 multidata_impl.h \
399 399 mutex.h \
400 400 nbmlock.h \
401 401 ndifm.h \
402 402 ndi_impldefs.h \
403 403 net80211.h \
404 404 net80211_crypto.h \
405 405 net80211_ht.h \
406 406 net80211_proto.h \
407 407 netconfig.h \
408 408 neti.h \
409 409 netstack.h \
410 410 nexusdefs.h \
411 411 note.h \
412 412 nvpair.h \
413 413 nvpair_impl.h \
414 414 objfs.h \
415 415 objfs_impl.h \
416 416 ontrap.h \
417 417 open.h \
418 418 openpromio.h \
419 419 panic.h \
420 420 param.h \
421 421 pathconf.h \
422 422 pathname.h \
423 423 pattr.h \
424 424 queue.h \
425 425 serializer.h \
426 426 pbio.h \
427 427 pccard.h \
428 428 pci.h \
429 429 pcie.h \
430 430 pci_impl.h \
431 431 pci_tools.h \
432 432 pcmcia.h \
433 433 pctypes.h \
434 434 pfmod.h \
435 435 pg.h \
436 436 pghw.h \
437 437 physmem.h \
438 438 pkp_hash.h \
439 439 pm.h \
440 440 policy.h \
441 441 poll.h \
442 442 poll_impl.h \
443 443 pool.h \
444 444 pool_impl.h \
445 445 pool_pset.h \
446 446 port.h \
447 447 port_impl.h \
448 448 port_kernel.h \
449 449 portif.h \
450 450 ppmio.h \
451 451 pppt_ic_if.h \
452 452 pppt_ioctl.h \
453 453 priocntl.h \
454 454 priv.h \
455 455 priv_impl.h \
456 456 prnio.h \
457 457 proc.h \
458 458 processor.h \
459 459 procfs.h \
460 460 procset.h \
461 461 project.h \
462 462 protosw.h \
463 463 prsystm.h \
464 464 pset.h \
465 465 pshot.h \
466 466 ptem.h \
467 467 ptms.h \
468 468 ptyvar.h \
469 469 raidioctl.h \
470 470 ramdisk.h \
471 471 random.h \
472 472 rctl.h \
473 473 rctl_impl.h \
474 474 rds.h \
475 475 reboot.h \
476 476 refstr.h \
477 477 refstr_impl.h \
↓ open down ↓ |
477 lines elided |
↑ open up ↑ |
478 478 resource.h \
479 479 rlioctl.h \
480 480 rt.h \
481 481 rtpriocntl.h \
482 482 rwlock.h \
483 483 rwlock_impl.h \
484 484 rwstlock.h \
485 485 sad.h \
486 486 schedctl.h \
487 487 sdt.h \
488 + secflags.h \
488 489 select.h \
489 490 sem.h \
490 491 sem_impl.h \
491 492 sema_impl.h \
492 493 semaphore.h \
493 494 sendfile.h \
494 495 ser_sync.h \
495 496 session.h \
496 497 sha1.h \
497 498 sha1_consts.h \
498 499 sha2.h \
499 500 sha2_consts.h \
500 501 share.h \
501 502 shm.h \
502 503 shm_impl.h \
503 504 sid.h \
504 505 siginfo.h \
505 506 signal.h \
506 507 sleepq.h \
507 508 smbios.h \
508 509 smbios_impl.h \
509 510 sobject.h \
510 511 socket.h \
511 512 socket_impl.h \
512 513 socket_proto.h \
513 514 socketvar.h \
514 515 sockfilter.h \
515 516 sockio.h \
516 517 soundcard.h \
517 518 squeue.h \
518 519 squeue_impl.h \
519 520 srn.h \
520 521 sservice.h \
521 522 stat.h \
522 523 statfs.h \
523 524 statvfs.h \
524 525 stdbool.h \
525 526 stdint.h \
526 527 stermio.h \
527 528 stmf.h \
528 529 stmf_defines.h \
529 530 stmf_ioctl.h \
530 531 stmf_sbd_ioctl.h \
531 532 stream.h \
532 533 strft.h \
533 534 strlog.h \
534 535 strmdep.h \
535 536 stropts.h \
536 537 strredir.h \
537 538 strstat.h \
538 539 strsubr.h \
539 540 strsun.h \
540 541 strtty.h \
541 542 sunddi.h \
542 543 sunldi.h \
543 544 sunldi_impl.h \
544 545 sunmdi.h \
545 546 sunndi.h \
546 547 sunos_dhcp_class.h \
547 548 sunpm.h \
548 549 suntpi.h \
549 550 suntty.h \
550 551 swap.h \
551 552 synch.h \
552 553 sysdc.h \
553 554 sysdc_impl.h \
554 555 syscall.h \
555 556 sysconf.h \
556 557 sysconfig.h \
557 558 sysevent.h \
558 559 sysevent_impl.h \
559 560 sysinfo.h \
560 561 syslog.h \
561 562 sysmacros.h \
562 563 sysmsg_impl.h \
563 564 systeminfo.h \
564 565 systm.h \
565 566 task.h \
566 567 taskq.h \
567 568 taskq_impl.h \
568 569 t_kuser.h \
569 570 t_lock.h \
570 571 telioctl.h \
571 572 termio.h \
572 573 termios.h \
573 574 termiox.h \
574 575 thread.h \
575 576 ticlts.h \
576 577 ticots.h \
577 578 ticotsord.h \
578 579 tihdr.h \
579 580 time.h \
580 581 time_impl.h \
581 582 time_std_impl.h \
582 583 timeb.h \
583 584 timer.h \
584 585 times.h \
585 586 timex.h \
586 587 timod.h \
587 588 tirdwr.h \
588 589 tiuser.h \
589 590 tl.h \
590 591 tnf.h \
591 592 tnf_com.h \
592 593 tnf_probe.h \
593 594 tnf_writer.h \
594 595 todio.h \
595 596 tpicommon.h \
596 597 ts.h \
597 598 tspriocntl.h \
598 599 ttcompat.h \
599 600 ttold.h \
600 601 tty.h \
601 602 ttychars.h \
602 603 ttydev.h \
603 604 tuneable.h \
604 605 turnstile.h \
605 606 types.h \
606 607 types32.h \
607 608 tzfile.h \
608 609 u8_textprep.h \
609 610 u8_textprep_data.h \
610 611 uadmin.h \
611 612 ucred.h \
612 613 uio.h \
613 614 ulimit.h \
614 615 un.h \
615 616 unistd.h \
616 617 user.h \
617 618 ustat.h \
618 619 utime.h \
619 620 utsname.h \
620 621 utssys.h \
621 622 uuid.h \
622 623 va_impl.h \
623 624 va_list.h \
624 625 var.h \
625 626 varargs.h \
626 627 vfs.h \
627 628 vfs_opreg.h \
628 629 vfstab.h \
629 630 vgareg.h \
630 631 videodev2.h \
631 632 visual_io.h \
632 633 vlan.h \
633 634 vm.h \
634 635 vm_usage.h \
635 636 vmem.h \
636 637 vmem_impl.h \
637 638 vmsystm.h \
638 639 vnic.h \
639 640 vnic_impl.h \
640 641 vnode.h \
641 642 vscan.h \
642 643 vtoc.h \
643 644 vtrace.h \
644 645 vuid_event.h \
645 646 vuid_wheel.h \
646 647 vuid_queue.h \
647 648 vuid_state.h \
648 649 vuid_store.h \
649 650 wait.h \
650 651 waitq.h \
651 652 wanboot_impl.h \
652 653 watchpoint.h \
653 654 winlockio.h \
654 655 zcons.h \
655 656 zone.h \
656 657 xti_inet.h \
657 658 xti_osi.h \
658 659 xti_xtiopt.h \
659 660 zmod.h
660 661
661 662 HDRS= \
662 663 $(GENHDRS) \
663 664 $(CHKHDRS)
664 665
665 666 AUDIOHDRS= \
666 667 ac97.h \
667 668 audio_common.h \
668 669 audio_driver.h \
669 670 audio_oss.h \
670 671 g711.h
671 672
672 673 AVHDRS= \
673 674 iec61883.h
674 675
675 676 BSCHDRS= \
676 677 bscbus.h \
677 678 bscv_impl.h \
678 679 lom_ebuscodes.h \
679 680 lom_io.h \
680 681 lom_priv.h \
681 682 lombus.h
682 683
683 684 MDESCHDRS= \
684 685 mdesc.h \
685 686 mdesc_impl.h
686 687
687 688 CPUDRVHDRS= \
688 689 cpudrv.h
689 690
690 691 CRYPTOHDRS= \
691 692 elfsign.h \
692 693 ioctl.h \
693 694 ioctladmin.h \
694 695 common.h \
695 696 impl.h \
696 697 spi.h \
697 698 api.h \
698 699 ops_impl.h \
699 700 sched_impl.h
700 701
701 702 DCAMHDRS= \
702 703 dcam1394_io.h
703 704
704 705 IBHDRS= \
705 706 ib_types.h \
706 707 ib_pkt_hdrs.h
707 708
708 709 IBTLHDRS= \
709 710 ibtl_types.h \
710 711 ibtl_status.h \
711 712 ibti.h \
712 713 ibti_cm.h \
713 714 ibci.h \
714 715 ibti_common.h \
715 716 ibvti.h \
716 717 ibtl_ci_types.h
717 718
718 719 IBTLIMPLHDRS= \
719 720 ibtl_util.h
720 721
721 722 IBNEXHDRS= \
722 723 ibnex_devctl.h
723 724
724 725 IBMFHDRS= \
725 726 ibmf.h \
726 727 ibmf_msg.h \
727 728 ibmf_saa.h \
728 729 ibmf_utils.h
729 730
730 731 IBMGTHDRS= \
731 732 ib_dm_attr.h \
732 733 ib_mad.h \
733 734 sm_attr.h \
734 735 sa_recs.h
735 736
736 737 IBDHDRS= \
737 738 ibd.h
738 739
739 740 OFHDRS= \
740 741 ofa_solaris.h \
741 742 ofed_kernel.h
742 743
743 744 RDMAHDRS= \
744 745 ib_addr.h \
745 746 ib_user_mad.h \
746 747 ib_user_sa.h \
747 748 ib_user_verbs.h \
748 749 ib_verbs.h \
749 750 rdma_cm.h \
750 751 rdma_user_cm.h
751 752
752 753 SOL_UVERBSHDRS= \
753 754 sol_uverbs.h \
754 755 sol_uverbs2ucma.h \
755 756 sol_uverbs_comp.h \
756 757 sol_uverbs_hca.h \
757 758 sol_uverbs_qp.h \
758 759 sol_uverbs_event.h
759 760
760 761 SOL_UMADHDRS= \
761 762 sol_umad.h
762 763
763 764 SOL_UCMAHDRS= \
764 765 sol_ucma.h \
765 766 sol_rdma_user_cm.h
766 767
767 768 SOL_OFSHDRS= \
768 769 sol_cma.h \
769 770 sol_ib_cma.h \
770 771 sol_ofs_common.h \
771 772 sol_kverb_impl.h
772 773
773 774 TAVORHDRS= \
774 775 tavor_ioctl.h
775 776
776 777 HERMONHDRS= \
777 778 hermon_ioctl.h
778 779
779 780 MLNXHDRS= \
780 781 mlnx_umap.h
781 782
782 783 IDMHDRS= \
783 784 idm.h \
784 785 idm_impl.h \
785 786 idm_so.h \
786 787 idm_text.h \
787 788 idm_transport.h \
788 789 idm_conn_sm.h
789 790
790 791 ISCSITHDRS= \
791 792 radius_packet.h \
792 793 radius_protocol.h \
793 794 chap.h \
794 795 isns_protocol.h \
795 796 iscsi_if.h \
796 797 iscsit_common.h
797 798
798 799 ISOHDRS= \
799 800 signal_iso.h
800 801
801 802 DERIVED_LVMHDRS= \
802 803 md_mdiox.h \
803 804 md_basic.h \
804 805 mdmed.h \
805 806 md_mhdx.h \
806 807 mdmn_commd.h
807 808
808 809 LVMHDRS= \
809 810 md_convert.h \
810 811 md_crc.h \
811 812 md_hotspares.h \
812 813 md_mddb.h \
813 814 md_mirror.h \
814 815 md_mirror_shared.h \
815 816 md_names.h \
816 817 md_notify.h \
817 818 md_raid.h \
818 819 md_rename.h \
819 820 md_sp.h \
820 821 md_stripe.h \
821 822 md_trans.h \
822 823 mdio.h \
823 824 mdvar.h
824 825
825 826 ALL_LVMHDRS= \
826 827 $(LVMHDRS) \
827 828 $(DERIVED_LVMHDRS)
828 829
829 830 FMHDRS= \
830 831 protocol.h \
831 832 util.h
832 833
833 834 FMFSHDRS= \
834 835 zfs.h
835 836
836 837 FMIOHDRS= \
837 838 ddi.h \
838 839 disk.h \
839 840 pci.h \
840 841 scsi.h \
841 842 sun4upci.h \
842 843 opl_mc_fm.h
843 844
844 845 FSHDRS= \
845 846 autofs.h \
846 847 cachefs_dir.h \
847 848 cachefs_dlog.h \
848 849 cachefs_filegrp.h \
849 850 cachefs_fs.h \
850 851 cachefs_fscache.h \
851 852 cachefs_ioctl.h \
852 853 cachefs_log.h \
853 854 decomp.h \
854 855 dv_node.h \
855 856 sdev_impl.h \
856 857 fifonode.h \
857 858 hsfs_isospec.h \
858 859 hsfs_node.h \
859 860 hsfs_rrip.h \
860 861 hsfs_spec.h \
861 862 hsfs_susp.h \
862 863 lofs_info.h \
863 864 lofs_node.h \
864 865 mntdata.h \
865 866 namenode.h \
866 867 pc_dir.h \
867 868 pc_fs.h \
868 869 pc_label.h \
869 870 pc_node.h \
870 871 pxfs_ki.h \
871 872 snode.h \
872 873 swapnode.h \
873 874 tmp.h \
874 875 tmpnode.h \
875 876 udf_inode.h \
876 877 udf_volume.h \
877 878 ufs_acl.h \
878 879 ufs_bio.h \
879 880 ufs_filio.h \
880 881 ufs_fs.h \
881 882 ufs_fsdir.h \
882 883 ufs_inode.h \
883 884 ufs_lockfs.h \
884 885 ufs_log.h \
885 886 ufs_mount.h \
886 887 ufs_panic.h \
887 888 ufs_prot.h \
888 889 ufs_quota.h \
889 890 ufs_snap.h \
890 891 ufs_trans.h \
891 892 zfs.h \
892 893 zut.h
893 894
894 895 SCSIHDRS= \
895 896 scsi.h \
896 897 scsi_address.h \
897 898 scsi_ctl.h \
898 899 scsi_fm.h \
899 900 scsi_params.h \
900 901 scsi_pkt.h \
901 902 scsi_resource.h \
902 903 scsi_types.h \
903 904 scsi_watch.h
904 905
905 906 SCSICONFHDRS= \
906 907 autoconf.h \
907 908 device.h
908 909
909 910 SCSIGENHDRS= \
910 911 commands.h \
911 912 dad_mode.h \
912 913 inquiry.h \
913 914 message.h \
914 915 mode.h \
915 916 persist.h \
916 917 sense.h \
917 918 sff_frames.h \
918 919 smp_frames.h \
919 920 status.h
920 921
921 922 SCSIIMPLHDRS= \
922 923 commands.h \
923 924 inquiry.h \
924 925 mode.h \
925 926 scsi_reset_notify.h \
926 927 scsi_sas.h \
927 928 sense.h \
928 929 services.h \
929 930 smp_transport.h \
930 931 spc3_types.h \
931 932 status.h \
932 933 transport.h \
933 934 types.h \
934 935 uscsi.h \
935 936 usmp.h
936 937
937 938 SCSITARGETSHDRS= \
938 939 ses.h \
939 940 sesio.h \
940 941 sgendef.h \
941 942 stdef.h \
942 943 sddef.h \
943 944 smp.h
944 945
945 946 SCSIADHDRS=
946 947
947 948 SCSICADHDRS=
948 949
949 950 SCSIISCSIHDRS= \
950 951 iscsi_door.h \
951 952 iscsi_if.h
952 953
953 954 SCSIVHCIHDRS= \
954 955 scsi_vhci.h \
955 956 mpapi_impl.h \
956 957 mpapi_scsi_vhci.h
957 958
958 959 SDCARDHDRS= \
959 960 sda.h \
960 961 sda_impl.h \
961 962 sda_ioctl.h
962 963
963 964 FC4HDRS= \
964 965 fc_transport.h \
965 966 linkapp.h \
966 967 fc.h \
967 968 fcp.h \
968 969 fcal_transport.h \
969 970 fcal.h \
970 971 fcal_linkapp.h \
971 972 fcio.h
972 973
973 974 FCHDRS= \
974 975 fc.h \
975 976 fcio.h \
976 977 fc_types.h \
977 978 fc_appif.h
978 979
979 980 FCIMPLHDRS= \
980 981 fc_error.h \
981 982 fcph.h
982 983
983 984 FCULPHDRS= \
984 985 fcp_util.h \
985 986 fcsm.h
986 987
987 988 SATAGENHDRS= \
988 989 sata_hba.h \
989 990 sata_defs.h \
990 991 sata_cfgadm.h
991 992
992 993 SYSEVENTHDRS= \
993 994 ap_driver.h \
994 995 dev.h \
995 996 domain.h \
996 997 dr.h \
997 998 env.h \
998 999 eventdefs.h \
999 1000 ipmp.h \
1000 1001 pwrctl.h \
1001 1002 svm.h \
1002 1003 vrrp.h
1003 1004
1004 1005 CONTRACTHDRS= \
1005 1006 process.h \
1006 1007 process_impl.h \
1007 1008 device.h \
1008 1009 device_impl.h
1009 1010
1010 1011 USBHDRS= \
1011 1012 usba.h \
1012 1013 usbai.h
1013 1014
1014 1015 USBAUDHDRS= \
1015 1016 usb_audio.h
1016 1017
1017 1018 USBHUBDHDRS= \
1018 1019 hub.h \
1019 1020 hubd_impl.h
1020 1021
1021 1022 USBHIDHDRS= \
1022 1023 hid.h
1023 1024
1024 1025 USBMSHDRS= \
1025 1026 usb_bulkonly.h \
1026 1027 usb_cbi.h
1027 1028
1028 1029 USBPRNHDRS= \
1029 1030 usb_printer.h
1030 1031
1031 1032 USBCDCHDRS= \
1032 1033 usb_cdc.h
1033 1034
1034 1035 USBVIDHDRS= \
1035 1036 usbvc.h
1036 1037
1037 1038 USBWCMHDRS= \
1038 1039 usbwcm.h
1039 1040
1040 1041 UGENHDRS= \
1041 1042 usb_ugen.h
1042 1043
1043 1044 HOTPLUGHDRS= \
1044 1045 hpcsvc.h \
1045 1046 hpctrl.h
1046 1047
1047 1048 HOTPLUGPCIHDRS= \
1048 1049 pcicfg.h \
1049 1050 pcihp.h
1050 1051
1051 1052 RSMHDRS= \
1052 1053 rsm.h \
1053 1054 rsm_common.h \
1054 1055 rsmapi_common.h \
1055 1056 rsmpi.h \
1056 1057 rsmpi_driver.h \
1057 1058 rsmka_path_int.h
1058 1059
1059 1060 TSOLHDRS= \
1060 1061 label.h \
1061 1062 label_macro.h \
1062 1063 priv.h \
1063 1064 tndb.h \
1064 1065 tsyscall.h
1065 1066
1066 1067 I1394HDRS= \
1067 1068 cmd1394.h \
1068 1069 id1394.h \
1069 1070 ieee1212.h \
1070 1071 ieee1394.h \
1071 1072 ixl1394.h \
1072 1073 s1394_impl.h \
1073 1074 t1394.h
1074 1075
1075 1076 # "cmdk" headers used on sparc
1076 1077 SDKTPHDRS= \
1077 1078 dadkio.h \
1078 1079 fdisk.h
1079 1080
1080 1081 # "cmdk" headers used on i386
1081 1082 DKTPHDRS= \
1082 1083 altsctr.h \
1083 1084 bbh.h \
1084 1085 cm.h \
1085 1086 cmdev.h \
1086 1087 cmdk.h \
1087 1088 cmpkt.h \
1088 1089 controller.h \
1089 1090 dadev.h \
1090 1091 dadk.h \
1091 1092 dadkio.h \
1092 1093 fctypes.h \
1093 1094 fdisk.h \
1094 1095 flowctrl.h \
1095 1096 gda.h \
1096 1097 quetypes.h \
1097 1098 queue.h \
1098 1099 tgcom.h \
1099 1100 tgdk.h
1100 1101
1101 1102 # "pc" header files used on i386
1102 1103 PCHDRS= \
1103 1104 avintr.h \
1104 1105 dma_engine.h \
1105 1106 i8272A.h \
1106 1107 pcic_reg.h \
1107 1108 pcic_var.h \
1108 1109 pic.h \
1109 1110 pit.h \
1110 1111 rtc.h
1111 1112
1112 1113 NXGEHDRS= \
1113 1114 nxge.h \
1114 1115 nxge_common.h \
1115 1116 nxge_common_impl.h \
1116 1117 nxge_defs.h \
1117 1118 nxge_hw.h \
1118 1119 nxge_impl.h \
1119 1120 nxge_ipp.h \
1120 1121 nxge_ipp_hw.h \
1121 1122 nxge_mac.h \
1122 1123 nxge_mac_hw.h \
1123 1124 nxge_fflp.h \
1124 1125 nxge_fflp_hw.h \
1125 1126 nxge_mii.h \
1126 1127 nxge_rxdma.h \
1127 1128 nxge_rxdma_hw.h \
1128 1129 nxge_txc.h \
1129 1130 nxge_txc_hw.h \
1130 1131 nxge_txdma.h \
1131 1132 nxge_txdma_hw.h \
1132 1133 nxge_virtual.h \
1133 1134 nxge_espc.h
1134 1135
1135 1136 include Makefile.syshdrs
1136 1137
1137 1138 dcam/%.check: dcam/%.h
1138 1139 $(DOT_H_CHECK)
1139 1140
1140 1141 CHECKHDRS= \
1141 1142 $($(MACH)_HDRS:%.h=%.check) \
1142 1143 $(AUDIOHDRS:%.h=audio/%.check) \
1143 1144 $(AVHDRS:%.h=av/%.check) \
1144 1145 $(BSCHDRS:%.h=%.check) \
1145 1146 $(CHKHDRS:%.h=%.check) \
1146 1147 $(CPUDRVHDRS:%.h=%.check) \
1147 1148 $(CRYPTOHDRS:%.h=crypto/%.check) \
1148 1149 $(DCAMHDRS:%.h=dcam/%.check) \
1149 1150 $(FC4HDRS:%.h=fc4/%.check) \
1150 1151 $(FCHDRS:%.h=fibre-channel/%.check) \
1151 1152 $(FCIMPLHDRS:%.h=fibre-channel/impl/%.check) \
1152 1153 $(FCULPHDRS:%.h=fibre-channel/ulp/%.check) \
1153 1154 $(IBHDRS:%.h=ib/%.check) \
1154 1155 $(IBDHDRS:%.h=ib/clients/ibd/%.check) \
1155 1156 $(IBTLHDRS:%.h=ib/ibtl/%.check) \
1156 1157 $(IBTLIMPLHDRS:%.h=ib/ibtl/impl/%.check) \
1157 1158 $(IBNEXHDRS:%.h=ib/ibnex/%.check) \
1158 1159 $(IBMGTHDRS:%.h=ib/mgt/%.check) \
1159 1160 $(IBMFHDRS:%.h=ib/mgt/ibmf/%.check) \
1160 1161 $(OFHDRS:%.h=ib/clients/of/%.check) \
1161 1162 $(RDMAHDRS:%.h=ib/clients/of/rdma/%.check) \
1162 1163 $(SOL_UVERBSHDRS:%.h=ib/clients/of/sol_uverbs/%.check) \
1163 1164 $(SOL_UCMAHDRS:%.h=ib/clients/of/sol_ucma/%.check) \
1164 1165 $(SOL_OFSHDRS:%.h=ib/clients/of/sol_ofs/%.check) \
1165 1166 $(TAVORHDRS:%.h=ib/adapters/tavor/%.check) \
1166 1167 $(HERMONHDRS:%.h=ib/adapters/hermon/%.check) \
1167 1168 $(MLNXHDRS:%.h=ib/adapters/%.check) \
1168 1169 $(IDMHDRS:%.h=idm/%.check) \
1169 1170 $(ISCSIHDRS:%.h=iscsi/%.check) \
1170 1171 $(ISCSITHDRS:%.h=iscsit/%.check) \
1171 1172 $(ISOHDRS:%.h=iso/%.check) \
1172 1173 $(FMHDRS:%.h=fm/%.check) \
1173 1174 $(FMFSHDRS:%.h=fm/fs/%.check) \
1174 1175 $(FMIOHDRS:%.h=fm/io/%.check) \
1175 1176 $(FSHDRS:%.h=fs/%.check) \
1176 1177 $(LVMHDRS:%.h=lvm/%.check) \
1177 1178 $(SCSIHDRS:%.h=scsi/%.check) \
1178 1179 $(SCSIADHDRS:%.h=scsi/adapters/%.check) \
1179 1180 $(SCSICONFHDRS:%.h=scsi/conf/%.check) \
1180 1181 $(SCSIIMPLHDRS:%.h=scsi/impl/%.check) \
1181 1182 $(SCSIISCSIHDRS:%.h=scsi/adapters/%.check) \
1182 1183 $(SCSIGENHDRS:%.h=scsi/generic/%.check) \
1183 1184 $(SCSITARGETSHDRS:%.h=scsi/targets/%.check) \
1184 1185 $(SCSIVHCIHDRS:%.h=scsi/adapters/%.check) \
1185 1186 $(SATAGENHDRS:%.h=sata/%.check) \
1186 1187 $(SDCARDHDRS:%.h=sdcard/%.check) \
1187 1188 $(SYSEVENTHDRS:%.h=sysevent/%.check) \
1188 1189 $(CONTRACTHDRS:%.h=contract/%.check) \
1189 1190 $(USBAUDHDRS:%.h=usb/clients/audio/%.check) \
1190 1191 $(USBHUBDHDRS:%.h=usb/hubd/%.check) \
1191 1192 $(USBHIDHDRS:%.h=usb/clients/hid/%.check) \
1192 1193 $(USBMSHDRS:%.h=usb/clients/mass_storage/%.check) \
1193 1194 $(USBPRNHDRS:%.h=usb/clients/printer/%.check) \
1194 1195 $(USBCDCHDRS:%.h=usb/clients/usbcdc/%.check) \
1195 1196 $(USBVIDHDRS:%.h=usb/clients/video/usbvc/%.check) \
1196 1197 $(USBWCMHDRS:%.h=usb/clients/usbinput/usbwcm/%.check) \
1197 1198 $(UGENHDRS:%.h=usb/clients/ugen/%.check) \
1198 1199 $(USBHDRS:%.h=usb/%.check) \
1199 1200 $(I1394HDRS:%.h=1394/%.check) \
1200 1201 $(RSMHDRS:%.h=rsm/%.check) \
1201 1202 $(TSOLHDRS:%.h=tsol/%.check) \
1202 1203 $(NXGEHDRS:%.h=nxge/%.check)
1203 1204
1204 1205
1205 1206 .KEEP_STATE:
1206 1207
1207 1208 .PARALLEL: \
1208 1209 $(CHECKHDRS) \
1209 1210 $(ROOTHDRS) \
1210 1211 $(ROOTAUDHDRS) \
1211 1212 $(ROOTAVHDRS) \
1212 1213 $(ROOTCRYPTOHDRS) \
1213 1214 $(ROOTDCAMHDRS) \
1214 1215 $(ROOTISOHDRS) \
1215 1216 $(ROOTIDMHDRS) \
1216 1217 $(ROOTISCSIHDRS) \
1217 1218 $(ROOTISCSITHDRS) \
1218 1219 $(ROOTFC4HDRS) \
1219 1220 $(ROOTFCHDRS) \
1220 1221 $(ROOTFCIMPLHDRS) \
1221 1222 $(ROOTFCULPHDRS) \
1222 1223 $(ROOTFMHDRS) \
1223 1224 $(ROOTFMIOHDRS) \
1224 1225 $(ROOTFMFSHDRS) \
1225 1226 $(ROOTFSHDRS) \
1226 1227 $(ROOTIBDHDRS) \
1227 1228 $(ROOTIBHDRS) \
1228 1229 $(ROOTIBTLHDRS) \
1229 1230 $(ROOTIBTLIMPLHDRS) \
1230 1231 $(ROOTIBNEXHDRS) \
1231 1232 $(ROOTIBMGTHDRS) \
1232 1233 $(ROOTIBMFHDRS) \
1233 1234 $(ROOTOFHDRS) \
1234 1235 $(ROOTRDMAHDRS) \
1235 1236 $(ROOTSOL_OFSHDRS) \
1236 1237 $(ROOTSOL_UMADHDRS) \
1237 1238 $(ROOTSOL_UVERBSHDRS) \
1238 1239 $(ROOTSOL_UCMAHDRS) \
1239 1240 $(ROOTTAVORHDRS) \
1240 1241 $(ROOTHERMONHDRS) \
1241 1242 $(ROOTMLNXHDRS) \
1242 1243 $(ROOTLVMHDRS) \
1243 1244 $(ROOTSCSIHDRS) \
1244 1245 $(ROOTSCSIADHDRS) \
1245 1246 $(ROOTSCSICONFHDRS) \
1246 1247 $(ROOTSCSIISCSIHDRS) \
1247 1248 $(ROOTSCSIGENHDRS) \
1248 1249 $(ROOTSCSIIMPLHDRS) \
1249 1250 $(ROOTSCSIVHCIHDRS) \
1250 1251 $(ROOTSDCARDHDRS) \
1251 1252 $(ROOTSYSEVENTHDRS) \
1252 1253 $(ROOTCONTRACTHDRS) \
1253 1254 $(ROOTUSBHDRS) \
1254 1255 $(ROOTUWBHDRS) \
1255 1256 $(ROOTUWBAHDRS) \
1256 1257 $(ROOTUSBAUDHDRS) \
1257 1258 $(ROOTUSBHUBDHDRS) \
1258 1259 $(ROOTUSBHIDHDRS) \
1259 1260 $(ROOTUSBHRCHDRS) \
1260 1261 $(ROOTUSBMSHDRS) \
1261 1262 $(ROOTUSBPRNHDRS) \
1262 1263 $(ROOTUSBCDCHDRS) \
1263 1264 $(ROOTUSBVIDHDRS) \
1264 1265 $(ROOTUSBWCMHDRS) \
1265 1266 $(ROOTUGENHDRS) \
1266 1267 $(ROOT1394HDRS) \
1267 1268 $(ROOTHOTPLUGHDRS) \
1268 1269 $(ROOTHOTPLUGPCIHDRS) \
1269 1270 $(ROOTRSMHDRS) \
1270 1271 $(ROOTTSOLHDRS) \
1271 1272 $($(MACH)_ROOTHDRS)
1272 1273
1273 1274
1274 1275 install_h: \
1275 1276 $(ROOTDIRS) \
1276 1277 LVMDERIVED_H \
1277 1278 .WAIT \
1278 1279 $(ROOTHDRS) \
1279 1280 $(ROOTAUDHDRS) \
1280 1281 $(ROOTAVHDRS) \
1281 1282 $(ROOTCRYPTOHDRS) \
1282 1283 $(ROOTDCAMHDRS) \
1283 1284 $(ROOTISOHDRS) \
1284 1285 $(ROOTIDMHDRS) \
1285 1286 $(ROOTISCSIHDRS) \
1286 1287 $(ROOTISCSITHDRS) \
1287 1288 $(ROOTFC4HDRS) \
1288 1289 $(ROOTFCHDRS) \
1289 1290 $(ROOTFCIMPLHDRS) \
1290 1291 $(ROOTFCULPHDRS) \
1291 1292 $(ROOTFMHDRS) \
1292 1293 $(ROOTFMFSHDRS) \
1293 1294 $(ROOTFMIOHDRS) \
1294 1295 $(ROOTFSHDRS) \
1295 1296 $(ROOTIBDHDRS) \
1296 1297 $(ROOTIBHDRS) \
1297 1298 $(ROOTIBTLHDRS) \
1298 1299 $(ROOTIBTLIMPLHDRS) \
1299 1300 $(ROOTIBNEXHDRS) \
1300 1301 $(ROOTIBMGTHDRS) \
1301 1302 $(ROOTIBMFHDRS) \
1302 1303 $(ROOTOFHDRS) \
1303 1304 $(ROOTRDMAHDRS) \
1304 1305 $(ROOTSOL_OFSHDRS) \
1305 1306 $(ROOTSOL_UMADHDRS) \
1306 1307 $(ROOTSOL_UVERBSHDRS) \
1307 1308 $(ROOTSOL_UCMAHDRS) \
1308 1309 $(ROOTTAVORHDRS) \
1309 1310 $(ROOTHERMONHDRS) \
1310 1311 $(ROOTMLNXHDRS) \
1311 1312 $(ROOTLVMHDRS) \
1312 1313 $(ROOTSCSIHDRS) \
1313 1314 $(ROOTSCSIADHDRS) \
1314 1315 $(ROOTSCSIISCSIHDRS) \
1315 1316 $(ROOTSCSICONFHDRS) \
1316 1317 $(ROOTSCSIGENHDRS) \
1317 1318 $(ROOTSCSIIMPLHDRS) \
1318 1319 $(ROOTSCSIVHCIHDRS) \
1319 1320 $(ROOTSDCARDHDRS) \
1320 1321 $(ROOTSYSEVENTHDRS) \
1321 1322 $(ROOTCONTRACTHDRS) \
1322 1323 $(ROOTUWBHDRS) \
1323 1324 $(ROOTUWBAHDRS) \
1324 1325 $(ROOTUSBHDRS) \
1325 1326 $(ROOTUSBAUDHDRS) \
1326 1327 $(ROOTUSBHUBDHDRS) \
1327 1328 $(ROOTUSBHIDHDRS) \
1328 1329 $(ROOTUSBHRCHDRS) \
1329 1330 $(ROOTUSBMSHDRS) \
1330 1331 $(ROOTUSBPRNHDRS) \
1331 1332 $(ROOTUSBCDCHDRS) \
1332 1333 $(ROOTUSBVIDHDRS) \
1333 1334 $(ROOTUSBWCMHDRS) \
1334 1335 $(ROOTUGENHDRS) \
1335 1336 $(ROOT1394HDRS) \
1336 1337 $(ROOTHOTPLUGHDRS) \
1337 1338 $(ROOTHOTPLUGPCIHDRS) \
1338 1339 $(ROOTRSMHDRS) \
1339 1340 $(ROOTTSOLHDRS) \
1340 1341 $($(MACH)_ROOTHDRS)
1341 1342
1342 1343 all_h: $(GENHDRS)
1343 1344
1344 1345 priv_const.h: $(PRIVS_AWK) $(PRIVS_DEF)
1345 1346 $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v privhfile=$@
1346 1347
1347 1348 priv_names.h: $(PRIVS_AWK) $(PRIVS_DEF)
1348 1349 $(NAWK) -f $(PRIVS_AWK) < $(PRIVS_DEF) -v pubhfile=$@
1349 1350
1350 1351 usb/usbdevs.h: $(USBDEVS_AWK) $(USBDEVS_DATA)
1351 1352 $(NAWK) -f $(USBDEVS_AWK) $(USBDEVS_DATA) -H > $@
1352 1353
1353 1354 LVMDERIVED_H:
1354 1355 cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE) all_h
1355 1356
1356 1357 clean:
1357 1358 $(RM) $(GENHDRS)
1358 1359
1359 1360 clobber: clean
1360 1361 cd $(SRC)/uts/common/sys/lvm; pwd; $(MAKE) clobber
1361 1362
1362 1363 check: $(CHECKHDRS)
1363 1364
1364 1365 FRC:
↓ open down ↓ |
867 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX