vfs: check userland buffers before reading them.
[haiku.git] / src / tests / system / boot / loader / file_systems / bfs / Jamfile
blob477d04e1648d08d1b767d73e20e8fbcfdd8e5a7d
1 SubDir HAIKU_TOP src tests system boot loader file_systems bfs ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 UsePrivateKernelHeaders ;
6 UsePrivateSystemHeaders ;
7 UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
8 UsePrivateHeaders [ FDirName storage ] ;
9 SubDirSysHdrs $(HAIKU_TOP) src tests system boot loader ;
10 SubDirHdrs $(HAIKU_TOP) src system boot loader file_systems bfs ;
11 SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems bfs ;
13 ObjectDefines
14         bfs.cpp
15         Directory.cpp
16         File.cpp
17         Link.cpp
18         Stream.cpp
19         BPlusTree.cpp
20         :
21         read_pos=boot_read_pos fstat=boot_fstat open=boot_open close=boot_close
22         _BOOT_MODE #BFS_BIG_ENDIAN_ONLY
23         ;
25 KernelStaticLibrary boottest_bfs.a :
26         bfs.cpp
27         Directory.cpp
28         File.cpp
29         Link.cpp
30         Stream.cpp
31         BPlusTree.cpp
32         ;
34 # Tell Jam where to find the sources
36 SEARCH on [ FGristFiles
37                 bfs.cpp Directory.cpp File.cpp Link.cpp Stream.cpp BPlusTree.cpp
38         ] = [ FDirName $(HAIKU_TOP) src system boot loader file_systems bfs ] ;